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

model output

Claude Sonnet 4.6

Such Spinners, Much Loading

A 0.86T 0.26
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>Dot Animation</title>
7<style>
8  * {
9    margin: 0;
10    padding: 0;
11    box-sizing: border-box;
12  }
13
14  body {
15    background: white;
16    width: 100vw;
17    height: 100vh;
18    display: flex;
19    align-items: center;
20    justify-content: center;
21    overflow: hidden;
22  }
23
24  .dot {
25    width: 24px;
26    height: 24px;
27    background-color: #999;
28    border-radius: 50%;
29    animation: dotPulse 2s ease-in-out infinite;
30  }
31
32  @keyframes dotPulse {
33    0% {
34      opacity: 0;
35      transform: scale(0);
36    }
37    20% {
38      opacity: 1;
39      transform: scale(1);
40    }
41    60% {
42      opacity: 1;
43      transform: scale(1);
44    }
45    80% {
46      opacity: 0;
47      transform: scale(0);
48    }
49    100% {
50      opacity: 0;
51      transform: scale(0);
52    }
53  }
54</style>
55</head>
56<body>
57  <div class="dot"></div>
58</body>
59</html>