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.47T 0.33
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>Spinner 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  .spinner {
17    width: 50px;
18    height: 50px;
19    position: relative;
20  }
21  .spinner::before {
22    content: "";
23    position: absolute;
24    top: 50%;
25    left: 50%;
26    width: 40px;
27    height: 40px;
28    margin: -20px 0 0 -20px;
29    border: 4px solid #fff;
30    border-top: 4px solid transparent;
31    border-radius: 50%;
32    animation: spin 1s linear infinite;
33  }
34  @keyframes spin {
35    0% {
36      transform: rotate(0deg);
37    }
38    100% {
39      transform: rotate(360deg);
40    }
41  }
42</style>
43</head>
44<body>
45  <div class="spinner"></div>
46</body>
47</html>