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.82T 0.19
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>Loading 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            font-family: Arial, sans-serif;
16        }
17        .loading-text {
18            color: #fff;
19            font-size: 24px;
20            opacity: 0;
21            animation: fadeIn 2s forwards;
22        }
23        @keyframes fadeIn {
24            0% {
25                opacity: 0;
26            }
27            100% {
28                opacity: 1;
29            }
30        }
31    </style>
32</head>
33<body>
34    <div class="loading-text">LOADING</div>
35</body>
36</html>