返回 html-video
index.html
1 <!DOCTYPE html>
2 <html lang="zh-CN">
3 <head>
4 <meta charset="UTF-8" />
5 <title>Liquid Hero · Aurora Violet</title>
6 <script src="https://cdn.tailwindcss.com"></script>
7 <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;700;800;900&family=Noto+Sans+SC:wght@400;700;900&family=Source+Serif+Pro:ital,wght@1,400;1,600&display=swap" rel="stylesheet" />
8 <style>
9 body { font-family:'Inter Tight','Noto Sans SC',system-ui,sans-serif; background:#1e1b4b; margin:0; min-height:100vh; overflow:hidden; color:#fafaf8; position:relative; }
10 .blob { position:absolute; border-radius:50%; mix-blend-mode:screen; filter:blur(70px); will-change: transform; }
11 @keyframes float1 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(80px,-60px) scale(1.15) } }
12 @keyframes float2 { 0%,100% { transform: translate(0,0) scale(1.1) } 50% { transform: translate(-100px,40px) scale(0.9) } }
13 @keyframes float3 { 0%,100% { transform: translate(0,0) scale(0.95) } 50% { transform: translate(50px,80px) scale(1.2) } }
14 .b1 { width:600px; height:600px; background:#a78bfa; top:-100px; left:-100px; animation: float1 12s ease-in-out infinite; }
15 .b2 { width:520px; height:520px; background:#7c5cff; top:30%; right:-100px; animation: float2 10s ease-in-out infinite; }
16 .b3 { width:480px; height:480px; background:#ec4899; bottom:-100px; left:30%; animation: float3 14s ease-in-out infinite; }
17 .b4 { width:380px; height:380px; background:#06b6d4; top:60%; left:10%; animation: float1 16s ease-in-out infinite; opacity:0.6 }
18 .text-diff { mix-blend-mode: difference; color:#fafaf8; }
19 .chip { font-family:'Inter Tight',sans-serif; font-size:11px; letter-spacing:0.18em; text-transform:uppercase; }
20 .serif-em { font-family:'Source Serif Pro',serif; font-style:italic; font-weight:600; }
21 /* faint grid overlay */
22 body::before {
23 content:''; position:absolute; inset:0; pointer-events:none;
24 background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.03) 1px, transparent 1px);
25 background-size: 64px 64px; z-index:1;
26 }
27 @media (prefers-reduced-motion: reduce) {
28 .blob { animation: none }
29 }
30 </style>
31 </head>
32 <body class="flex flex-col items-center justify-center p-16">
33
34 <div class="blob b1"></div>
35 <div class="blob b2"></div>
36 <div class="blob b3"></div>
37 <div class="blob b4"></div>
38
39 <header class="absolute top-12 left-12 right-12 flex items-baseline justify-between chip opacity-70 z-10">
40 <span class="text-diff">HTML ANYTHING · FRAME · LIQUID HERO</span>
41 <span class="text-diff">AURORA VIOLET</span>
42 <span class="text-diff">2026 · 1920 × 1080</span>
43 </header>
44
45 <main class="relative z-10 text-center max-w-[1100px]">
46 <h1 class="text-diff font-black leading-[0.95] tracking-[-0.03em]" style="font-size:clamp(48px,7.5vw,128px)">
47 最好的 HTML, <span class="serif-em">是</span><br/>
48 让读者忘了它是 HTML。
49 </h1>
50 <p class="mt-8 text-diff opacity-80 text-[24px] font-medium">
51 HTML Anything · 75 个世界级模板, 0 个 API key
52 </p>
53 <div class="mt-10 inline-flex items-center gap-3 text-[13px] font-semibold chip px-5 py-2 rounded-full text-diff" style="border:1px solid rgba(255,255,255,0.4)">
54 ⌘ Try at localhost:3456
55 </div>
56 </main>
57
58 <footer class="absolute bottom-12 left-12 right-12 flex items-baseline justify-between chip opacity-60 z-10">
59 <span class="text-diff">FRAME-LIQUID-BG-HERO</span>
60 <span class="text-diff">PREFERS-REDUCED-MOTION SAFE</span>
61 <span class="text-diff">HTMLANYTHING.DEV</span>
62 </footer>
63 </body>
64 </html>
65
65 lines HTML