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.78T 0.27
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: #008080;
16            overflow: hidden;
17        }
18        .container {
19            width: 100%;
20            height: 100%;
21            display: flex;
22            justify-content: center;
23            align-items: center;
24        }
25        .diamond {
26            width: 20px;
27            height: 20px;
28            border: 1px solid #fff;
29            border-radius: 50%;
30            transform: rotate(45deg);
31            position: relative;
32            animation: pulse 1.5s ease-in-out infinite alternate;
33        }
34        @keyframes pulse {
35            0% {
36                transform: rotate(45deg) scale(1);
37            }
38            100% {
39                transform: rotate(45deg) scale(1.2);
40            }
41        }
42    </style>
43</head>
44<body>
45    <div class="container">
46        <div class="diamond"></div>
47    </div>
48</body>
49</html>