返回 oh-my-ppt
preview.html
根目录 / resources / styles / splash-abstract / preview.html
1 <!DOCTYPE html>
2 <html lang="zh-CN">
3 <head>
4 <meta charset="UTF-8">
5 <title>泼彩多巴胺 · 把彩虹涂进画面</title>
6 <style>
7 * { margin: 0; padding: 0; box-sizing: border-box; }
8 html, body { width: 1600px; height: 900px; overflow: hidden; font-family:"PingFang SC","Noto Sans SC","Helvetica Neue",sans-serif; }
9 .canvas {
10 width: 1600px; height: 900px; position: relative; color: #1A1A2E;
11 background: #FFF8F0; overflow: hidden;
12 }
13
14 /* 泼墨色块 */
15 .splash { position: absolute; border-radius: 50%; filter: blur(2px); }
16 .sp1 { top: -80px; left: -60px; width: 480px; height: 480px;
17 background: radial-gradient(circle at 40% 40%, #FF4500 0%, #FF4500 40%, transparent 70%); opacity: 0.85;}
18 .sp2 { top: 120px; right: -100px; width: 420px; height: 420px;
19 background: radial-gradient(circle at 50% 50%, #FF1493 0%, #FF1493 45%, transparent 72%); opacity: 0.8;}
20 .sp3 { bottom: -120px; left: 200px; width: 520px; height: 380px;
21 background: radial-gradient(ellipse at 50% 50%, #9370DB 0%, #9370DB 45%, transparent 72%); opacity: 0.8;
22 border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
23 .sp4 { bottom: 80px; right: 100px; width: 360px; height: 360px;
24 background: radial-gradient(circle, #20B2AA 0%, #20B2AA 45%, transparent 72%); opacity: 0.75;}
25 .sp5 { top: 380px; left: 540px; width: 260px; height: 260px;
26 background: radial-gradient(circle, #1E90FF 0%, #1E90FF 45%, transparent 72%); opacity: 0.7;}
27
28 /* 星芒 */
29 .star { position: absolute; }
30 .st1 { top: 180px; left: 900px; }
31 .st2 { top: 600px; left: 1080px; }
32 .st3 { top: 300px; left: 1200px; }
33
34 /* 标签 */
35 .tag {
36 position: absolute; top: 70px; left: 140px; z-index: 5;
37 font-size: 16px; color: #1A1A2E; letter-spacing: 6px; font-weight: 700;
38 background: #FFD700; padding: 8px 20px; border-radius: 30px;
39 }
40
41 /* 标题 */
42 .title { position: absolute; top: 180px; left: 140px; z-index: 5; }
43 .main-title {
44 font-size: 138px; font-weight: 900; line-height: 0.95;
45 letter-spacing: 4px; color: #1A1A2E;
46 }
47 .main-title .c1 { color: #FF4500; }
48 .main-title .c2 { color: #FF1493; }
49 .main-title .c3 { color: #9370DB; }
50 .sub-title {
51 font-size: 30px; color: #2D1B69; letter-spacing: 6px;
52 margin-top: 30px; font-weight: 600;
53 }
54 .sub-title .pipe { color: #FFD700; margin: 0 10px; }
55
56 /* 数据卡 */
57 .stats {
58 position: absolute; bottom: 120px; left: 140px; z-index:5;
59 display: flex; gap: 20px;
60 }
61 .stat {
62 padding: 24px 28px; border-radius: 20px; color: #FFFFFF;
63 }
64 .st-a { background: #FF4500; }
65 .st-b { background: #FF1493; }
66 .st-c { background: #9370DB; }
67 .st-d { background: #20B2AA; }
68 .stat .num { font-size: 48px; font-weight: 900; line-height: 1; font-family:"Helvetica Neue",sans-serif; }
69 .stat .lab { font-size: 16px; margin-top: 8px; letter-spacing: 2px; opacity: 0.95; }
70
71 /* 右侧引文 */
72 .quote {
73 position: absolute; top: 200px; right: 140px; z-index:5;
74 width: 320px; padding: 32px; border-radius: 24px;
75 background: rgba(255,255,255,0.85);
76 border: 3px solid #1A1A2E;
77 }
78 .quote h3 { font-size: 26px; color: #1A1A2E; letter-spacing: 2px; margin-bottom: 14px; }
79 .quote p { font-size: 18px; line-height: 1.8; color: #2D1B69; letter-spacing: 1px; }
80 .quote .em { color: #FF1493; font-weight: 700; }
81
82 /* 底部 */
83 .footer {
84 position: absolute; left: 140px; right: 140px; bottom: 50px; z-index:5;
85 display:flex; justify-content:space-between; align-items:center;
86 font-size: 16px; color: #1A1A2E; letter-spacing: 4px; font-weight: 600;
87 }
88 </style>
89 </head>
90 <body>
91 <div class="canvas">
92 <div class="splash sp1"></div>
93 <div class="splash sp2"></div>
94 <div class="splash sp3"></div>
95 <div class="splash sp4"></div>
96 <div class="splash sp5"></div>
97
98 <svg class="star st1" width="40" height="40" viewBox="0 0 40 40"><path d="M20,2 L23,17 L38,20 L23,23 L20,38 L17,23 L2,20 L17,17 Z" fill="#FFD700"/></svg>
99 <svg class="star st2" width="30" height="30" viewBox="0 0 30 30"><path d="M15,2 L17,13 L28,15 L17,17 L15,28 L13,17 L2,15 L13,13 Z" fill="#FFFFFF"/></svg>
100 <svg class="star st3" width="24" height="24" viewBox="0 0 24 24"><path d="M12,1 L14,10 L23,12 L14,14 L12,23 L10,14 L1,12 L10,10 Z" fill="#FF1493"/></svg>
101
102 <div class="tag">★ DOPAMINE SPLASH</div>
103
104 <div class="title">
105 <div class="main-title">把<span class="c1">彩</span><span class="c2">虹</span><br>涂进<span class="c3">画面</span></div>
106 <div class="sub-title">多巴胺泼墨 <span class="pipe">×</span> 活力全开</div>
107 </div>
108
109 <div class="quote">
110 <h3>能量爆棚</h3>
111 <p>不克制,不内敛,<br>
112 把所有<span class="em">情绪</span>都泼出来。<br>
113 这是属于年轻的颜色。</p>
114 </div>
115
116 <div class="stats">
117 <div class="stat st-a"><div class="num">5</div><div class="lab">主色碰撞</div></div>
118 <div class="stat st-b"><div class="num">100%</div><div class="lab">多巴胺</div></div>
119 <div class="stat st-c"><div class="num">∞</div><div class="lab">创造力</div></div>
120 <div class="stat st-d"><div class="num">24/7</div><div class="lab">活力在线</div></div>
121 </div>
122
123 <div class="footer">
124 <div>SPLASH ABSTRACT · VOL. 09</div>
125 <div>★ BE BOLD BE BRIGHT ★</div>
126 </div>
127 </div>
128 </body>
129 </html>
130
130 lines HTML