animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Staggered Stair Loading

model output

Qwen3-VL-8B-Instruct

Staggered Stair Loading

A 0.70T 0.21
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: #2a75a9;
10    display: flex;
11    justify-content: center;
12    align-items: center;
13    height: 100vh;
14    margin: 0;
15    overflow: hidden;
16  }
17
18  .loading-container {
19    display: flex;
20    align-items: center;
21    justify-content: center;
22    width: 200px;
23    height: 60px;
24    position: relative;
25  }
26
27  .loading-bar {
28    width: 100%;
29    height: 100%;
30    background-color: #333;
31    position: relative;
32    overflow: hidden;
33    display: flex;
34    align-items: center;
35    justify-content: center;
36  }
37
38  .loading-text {
39    font-family: Arial, sans-serif;
40    font-size: 24px;
41    font-weight: bold;
42    color: white;
43    text-transform: uppercase;
44    letter-spacing: 4px;
45    position: relative;
46    animation: loadAnimation 1.5s ease-in-out forwards;
47  }
48
49  @keyframes loadAnimation {
50    0% {
51      transform: translateX(-100%);
52    }
53    100% {
54      transform: translateX(0);
55    }
56  }
57
58  .loading-bar::before {
59    content: "";
60    position: absolute;
61    bottom: 0;
62    left: 0;
63    width: 0;
64    height: 100%;
65    background-color: #ccc;
66    animation: fillAnimation 1.5s ease-in-out forwards;
67  }
68
69  @keyframes fillAnimation {
70    0% {
71      width: 0;
72    }
73    100% {
74      width: 100%;
75    }
76  }
77</style>
78</head>
79<body>
80  <div class="loading-container">
81    <div class="loading-bar">
82      <div class="loading-text">LOADING</div>
83    </div>
84  </div>
85</body>
86</html>