← back to Tiny Single Element Loading Animationscompare with ground truth →
model output
Claude Sonnet 4.6
Tiny Single Element Loading Animations
A 0.79T 0.28
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>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 overflow: hidden;
19 }
20
21 .dot {
22 position: absolute;
23 width: 20px;
24 height: 20px;
25 border-radius: 50%;
26 background-color: #b0b0b0;
27 top: 45px;
28 left: 45px;
29 animation: pulse 2s ease-in-out infinite;
30 }
31
32 @keyframes pulse {
33 0% {
34 transform: scale(1);
35 opacity: 1;
36 }
37 50% {
38 transform: scale(1.15);
39 opacity: 0.7;
40 }
41 100% {
42 transform: scale(1);
43 opacity: 1;
44 }
45 }
46</style>
47</head>
48<body>
49 <div class="dot"></div>
50</body>
51</html>