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.62T 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>Red Circle 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        .circle {
17            width: 50px;
18            height: 50px;
19            border-radius: 50%;
20            background: radial-gradient(circle, rgba(255,0,0,0.8) 0%, rgba(255,0,0,0) 70%);
21            position: relative;
22            animation: pulse 2s ease-in-out infinite;
23        }
24        .inner-circle {
25            width: 20px;
26            height: 20px;
27            border-radius: 50%;
28            background: radial-gradient(circle, rgba(255,0,0,0.8) 0%, rgba(255,0,0,0) 70%);
29            position: absolute;
30            top: 50%;
31            left: 50%;
32            transform: translate(-50%, -50%);
33            animation: rotate 2s linear infinite;
34        }
35        @keyframes pulse {
36            0%, 100% {
37                transform: scale(1);
38                box-shadow: 0 0 20px rgba(255,0,0,0.5);
39            }
40            50% {
41                transform: scale(1.2);
42                box-shadow: 0 0 40px rgba(255,0,0,0.8);
43            }
44        }
45        @keyframes rotate {
46            0% {
47                transform: translate(-50%, -50%) rotate(0deg);
48            }
49            100% {
50                transform: translate(-50%, -50%) rotate(360deg);
51            }
52        }
53    </style>
54</head>
55<body>
56    <div class="circle">
57        <div class="inner-circle"></div>
58    </div>
59</body>
60</html>