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

model output

Gemini 3 Flash Preview

Such Spinners, Much Loading

A 0.82T 0.34
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>Pulsing Dot Animation</title>
7    <style>
8        /* Reset and center container */
9        body, html {
10            margin: 0;
11            padding: 0;
12            width: 100%;
13            height: 100%;
14            display: flex;
15            justify-content: center;
16            align-items: center;
17            background-color: #ffffff;
18            overflow: hidden;
19        }
20
21        /* The animated dot */
22        .dot {
23            width: 2px;
24            height: 2px;
25            background-color: #000000;
26            border-radius: 50%;
27            /* 1 second total duration: 0.5s to expand, 0.5s to contract */
28            animation: pulse 1s ease-in-out infinite;
29        }
30
31        @keyframes pulse {
32            0%, 100% {
33                transform: scale(1);
34                background-color: #000000;
35                opacity: 1;
36            }
37            50% {
38                /* Scales the 2px dot to match the visual size in the 0.5s frame */
39                transform: scale(15); 
40                background-color: #d3d3d3; /* Light grey */
41                opacity: 1;
42            }
43        }
44    </style>
45</head>
46<body>
47    <div class="dot"></div>
48</body>
49</html>