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

model output

Qwen3-VL-8B-Instruct

CSS3 loading animations

A 0.67T 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>Blue 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  }
16  .loader {
17    width: 50px;
18    height: 50px;
19    position: relative;
20  }
21  .loader::before {
22    content: '';
23    position: absolute;
24    top: 50%;
25    left: 50%;
26    transform: translate(-50%, -50%);
27    width: 100%;
28    height: 100%;
29    border: 3px solid #00f;
30    border-top-color: transparent;
31    border-radius: 50%;
32    animation: spin 1s linear infinite;
33  }
34  @keyframes spin {
35    0% {
36      transform: translate(-50%, -50%) rotate(0deg);
37    }
38    100% {
39      transform: translate(-50%, -50%) rotate(360deg);
40    }
41  }
42</style>
43</head>
44<body>
45  <div class="loader"></div>
46</body>
47</html>