animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Loading Text (real PURE CSS)

model output

Qwen3-VL-8B-Instruct

Loading Text (real PURE CSS)

A 0.74T 0.28
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            overflow: hidden;
16        }
17        .loader {
18            font-family: monospace;
19            font-size: 48px;
20            color: #ff3333;
21            text-transform: uppercase;
22            position: relative;
23            animation: loadAnimation 1.5s ease-in-out infinite;
24        }
25        @keyframes loadAnimation {
26            0% {
27                transform: scale(0.8);
28                opacity: 0.5;
29            }
30            50% {
31                transform: scale(1.2);
32                opacity: 1;
33            }
34            100% {
35                transform: scale(0.8);
36                opacity: 0.5;
37            }
38        }
39    </style>
40</head>
41<body>
42    <div class="loader" id="loader">LOADING...</div>
43
44    <script>
45        const loader = document.getElementById('loader');
46        let animationInterval;
47
48        function startAnimation() {
49            animationInterval = setInterval(() => {
50                const currentText = loader.textContent;
51                if (currentText === 'LOADING...') {
52                    loader.textContent = 'LOADING...';
53                } else {
54                    loader.textContent = 'LOADING...';
55                }
56            }, 1000);
57        }
58
59        startAnimation();
60    </script>
61</body>
62</html>