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

model output

Qwen3-VL-8B-Instruct

Spinners using Font Icons

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