animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to CSS3 loading animations

model output

Qwen3-VL-8B-Instruct

CSS3 loading animations

A 0.72T 0.28
compare with ground truth →
1<!DOCTYPE html>
2<html lang="en">
3<head>
4    <meta charset="UTF-8">
5    <meta name="viewport" content="width=device-width, initial-scale=1.0">
6    <title>Dot Animation</title>
7    <style>
8        body {
9            background-color: black;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .dots {
17            display: flex;
18            justify-content: center;
19            align-items: center;
20            gap: 2px;
21        }
22        .dot {
23            width: 8px;
24            height: 8px;
25            border-radius: 50%;
26            background-color: #000;
27            transition: background-color 0.3s ease;
28        }
29        .dot:nth-child(1) {
30            animation: pulse 1.5s ease-in-out infinite;
31        }
32        .dot:nth-child(2) {
33            animation: pulse 1.5s ease-in-out infinite 0.1s;
34        }
35        .dot:nth-child(3) {
36            animation: pulse 1.5s ease-in-out infinite 0.2s;
37        }
38        .dot:nth-child(4) {
39            animation: pulse 1.5s ease-in-out infinite 0.3s;
40        }
41        .dot:nth-child(5) {
42            animation: pulse 1.5s ease-in-out infinite 0.4s;
43        }
44        @keyframes pulse {
45            0%, 100% {
46                background-color: #000;
47            }
48            50% {
49                background-color: #00f;
50            }
51        }
52    </style>
53</head>
54<body>
55    <div class="dots">
56        <div class="dot"></div>
57        <div class="dot"></div>
58        <div class="dot"></div>
59        <div class="dot"></div>
60        <div class="dot"></div>
61    </div>
62</body>
63</html>