返回 html-video
index.html
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta name="viewport" content="width=1920, height=1080" />
6 <title>Decision Tree</title>
7 <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
8 <style>
9 * {
10 margin: 0;
11 padding: 0;
12 box-sizing: border-box;
13 }
14 html,
15 body {
16 margin: 0;
17 width: 1920px;
18 height: 1080px;
19 overflow: hidden;
20 background: #ffffff;
21 font-family: "Inter", sans-serif;
22 }
23 </style>
24 <link
25 href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=block"
26 rel="stylesheet"
27 />
28 </head>
29 <body>
30 <div
31 id="root"
32 data-composition-id="main"
33 data-start="0"
34 data-duration="15"
35 data-width="1920"
36 data-height="1080"
37 >
38 <div
39 id="decision-tree-comp"
40 data-composition-id="decision-tree"
41 data-composition-src="compositions/decision_tree.html"
42 data-start="0"
43 data-duration="15"
44 data-track-index="0"
45 data-width="1920"
46 data-height="1080"
47 ></div>
48 </div>
49
50 <script>
51 window.__timelines = window.__timelines || {};
52 const tl = gsap.timeline({ paused: true });
53 window.__timelines["main"] = tl;
54 </script>
55 </body>
56 </html>
57
57 lines HTML