animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to CSS3 loading animations

model output

LLaMA 4 Scout

CSS3 loading animations

A 0.78T 0.18
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>Animation</title>
7    <style>
8        body {
9            background-color: #000;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .bars {
17            display: flex;
18            gap: 2px;
19        }
20        .bar {
21            width: 2px;
22            height: 16px;
23            background-color: #ccc;
24            animation: pulse 2s infinite;
25        }
26        @keyframes pulse {
27            0% {
28                height: 16px;
29            }
30            50% {
31                height: 24px;
32            }
33            100% {
34                height: 16px;
35            }
36        }
37    </style>
38</head>
39<body>
40    <div class="bars">
41        <div class="bar"></div>
42        <div class="bar"></div>
43        <div class="bar"></div>
44        <div class="bar"></div>
45        <div class="bar"></div>
46    </div>
47</body>
48</html>