animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Exploring Bourbon

model output

LLaMA 4 Scout

Exploring Bourbon

A 0.64T 0.34
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: #87CEEB;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15            overflow: hidden;
16        }
17        .balloon {
18            position: relative;
19            width: 50px;
20            height: 50px;
21            background-color: yellow;
22            border-radius: 50%;
23            animation: float 3s infinite ease-in-out;
24        }
25        .string {
26            position: absolute;
27            bottom: -20px;
28            left: 50%;
29            transform: translateX(-50%);
30            width: 2px;
31            height: 20px;
32            background-color: yellow;
33        }
34        @keyframes float {
35            0% {
36                transform: translateY(0);
37            }
38            50% {
39                transform: translateY(-20px);
40            }
41            100% {
42                transform: translateY(0);
43            }
44        }
45    </style>
46</head>
47<body>
48    <div class="balloon">
49        <div class="string"></div>
50    </div>
51</body>
52</html>