animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to CSS Spinners

model output

Qwen3-VL-8B-Instruct

CSS Spinners

A 0.55T 0.17
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>Animation</title>
7    <style>
8        body {
9            margin: 0;
10            padding: 0;
11            display: flex;
12            justify-content: center;
13            align-items: center;
14            height: 100vh;
15            background: #fff;
16        }
17        .container {
18            width: 100%;
19            height: 100%;
20            background: #e64a19;
21            position: relative;
22        }
23        .circle {
24            width: 20px;
25            height: 20px;
26            background: #fff;
27            border-radius: 50%;
28            position: absolute;
29            top: 50%;
30            left: 50%;
31            transform: translate(-50%, -50%);
32            animation: rotate 2s linear infinite;
33        }
34        @keyframes rotate {
35            0% {
36                transform: translate(-50%, -50%) rotate(0deg);
37            }
38            100% {
39                transform: translate(-50%, -50%) rotate(360deg);
40            }
41        }
42    </style>
43</head>
44<body>
45    <div class="container">
46        <div class="circle"></div>
47    </div>
48</body>
49</html>