animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Single Element Spinner

model output

Claude Sonnet 4.6

Single Element Spinner

A 0.92T 0.35
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>Circle Animation</title>
7<style>
8  * {
9    margin: 0;
10    padding: 0;
11    box-sizing: border-box;
12  }
13
14  body {
15    background-color: #0a0a0a;
16    width: 100vw;
17    height: 100vh;
18    overflow: hidden;
19  }
20
21  .circle {
22    position: absolute;
23    left: 193px;
24    top: 100px;
25    width: 36px;
26    height: 36px;
27    border-radius: 50%;
28    border: 1.5px solid transparent;
29    border-top-color: #00bcd4;
30    border-right-color: #00bcd4;
31    border-bottom-color: #0077aa;
32    border-left-color: #0077aa;
33    animation: spin 1.2s linear infinite;
34  }
35
36  @keyframes spin {
37    0% {
38      transform: rotate(0deg);
39    }
40    100% {
41      transform: rotate(360deg);
42    }
43  }
44</style>
45</head>
46<body>
47  <div class="circle"></div>
48</body>
49</html>