animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Only CSS: Colorful Jewelry

model output

LLaMA 4 Scout

Only CSS: Colorful Jewelry

A 0.55T 0.14
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: black;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .animation-container {
17            position: relative;
18            width: 200px;
19            height: 400px;
20            background-color: black;
21        }
22        .animation {
23            position: absolute;
24            top: 0;
25            left: 0;
26            width: 100%;
27            height: 100%;
28            background-image: linear-gradient(45deg, #ff69b4, #ffe6cc, #ccffcc, #ccccff, #ffccff);
29            animation: rotate 10s linear infinite;
30            animation-fill-mode: forwards;
31        }
32        @keyframes rotate {
33            0% {
34                transform: rotate(0deg);
35            }
36            100% {
37                transform: rotate(360deg);
38            }
39        }
40    </style>
41</head>
42<body>
43    <div class="animation-container">
44        <div class="animation"></div>
45    </div>
46</body>
47</html>