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.87T 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>Circle Animation</title>
7<style>
8  * {
9    margin: 0;
10    padding: 0;
11    box-sizing: border-box;
12  }
13
14  body {
15    background: #ffffff;
16    display: flex;
17    justify-content: center;
18    align-items: center;
19    min-height: 100vh;
20  }
21
22  .circle-container {
23    position: relative;
24    width: 50px;
25    height: 50px;
26    display: flex;
27    justify-content: center;
28    align-items: center;
29  }
30
31  .circle {
32    width: 50px;
33    height: 50px;
34    border-radius: 50%;
35    background-color: #333333;
36    animation: pulse 1.2s ease-in-out infinite;
37  }
38
39  @keyframes pulse {
40    0% {
41      background-color: #333333;
42      box-shadow: none;
43    }
44    50% {
45      background-color: #333333;
46      box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.9),
47                  0 0 0 10px #333333;
48    }
49    100% {
50      background-color: #333333;
51      box-shadow: none;
52    }
53  }
54</style>
55</head>
56<body>
57  <div class="circle-container">
58    <div class="circle"></div>
59  </div>
60</body>
61</html>