返回 oh-my-ppt
preview.html
1 <!DOCTYPE html>
2 <html lang="zh">
3 <head>
4 <meta charset="UTF-8">
5 <title>高级撞色</title>
6 <style>
7 * { margin: 0; padding: 0; box-sizing: border-box; }
8 html, body {
9 width: 100%;
10 height: 100%;
11 overflow: hidden;
12 background: #1B2A4A;
13 font-family: "PingFang SC", "Helvetica Neue", "Inter", sans-serif;
14 }
15 .canvas {
16 width: 100vw;
17 height: 100vh;
18 aspect-ratio: 16 / 9;
19 position: relative;
20 overflow: hidden;
21 background: #F4EFE6;
22 }
23 /* 暖橙色块 - 左上斜切 */
24 .block-orange {
25 position: absolute;
26 top: 0;
27 left: 0;
28 width: 52%;
29 height: 100%;
30 background: #FF6B47;
31 clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
32 }
33 /* 墨蓝色块 - 右下 */
34 .block-ink {
35 position: absolute;
36 bottom: 0;
37 right: 0;
38 width: 56%;
39 height: 64%;
40 background: #1B2A4A;
41 clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
42 }
43 /* 琥珀色细带 */
44 .band-amber {
45 position: absolute;
46 top: 18%;
47 left: 38%;
48 width: 22%;
49 height: 6px;
50 background: #F4D35E;
51 z-index: 3;
52 }
53 /* 圆形装饰 */
54 .circle {
55 position: absolute;
56 border-radius: 50%;
57 }
58 .circle-coral {
59 width: 140px;
60 height: 140px;
61 background: #F5A623;
62 top: 8%;
63 right: 14%;
64 z-index: 2;
65 }
66 .circle-red {
67 width: 36px;
68 height: 36px;
69 background: #E63946;
70 bottom: 22%;
71 left: 8%;
72 z-index: 4;
73 }
74 /* 标题区 */
75 .header {
76 position: absolute;
77 top: 11%;
78 left: 6%;
79 z-index: 5;
80 color: #F4EFE6;
81 }
82 .kicker {
83 font-size: 13px;
84 font-weight: 600;
85 letter-spacing: 0.32em;
86 text-transform: uppercase;
87 color: #1B2A4A;
88 margin-bottom: 14px;
89 display: inline-block;
90 padding: 6px 12px;
91 background: #F4D35E;
92 }
93 .title {
94 font-size: 84px;
95 font-weight: 900;
96 line-height: 0.95;
97 letter-spacing: -0.03em;
98 color: #F4EFE6;
99 }
100 .title .em {
101 color: #1B2A4A;
102 display: inline-block;
103 }
104 .subtitle {
105 margin-top: 18px;
106 font-size: 18px;
107 font-weight: 500;
108 letter-spacing: 0.04em;
109 color: #F4EFE6;
110 opacity: 0.92;
111 max-width: 460px;
112 line-height: 1.5;
113 }
114 /* 右下信息卡 */
115 .info {
116 position: absolute;
117 bottom: 10%;
118 right: 6%;
119 z-index: 5;
120 color: #F4EFE6;
121 text-align: right;
122 }
123 .info-num {
124 font-size: 120px;
125 font-weight: 900;
126 line-height: 0.9;
127 letter-spacing: -0.04em;
128 color: #FF6B47;
129 }
130 .info-label {
131 font-size: 14px;
132 font-weight: 500;
133 letter-spacing: 0.24em;
134 text-transform: uppercase;
135 margin-top: 8px;
136 color: #F4EFE6;
137 }
138 /* 左下小标 */
139 .footer-left {
140 position: absolute;
141 bottom: 8%;
142 left: 6%;
143 z-index: 5;
144 color: #F4EFE6;
145 }
146 .footer-left .tag {
147 font-size: 12px;
148 letter-spacing: 0.3em;
149 text-transform: uppercase;
150 opacity: 0.75;
151 margin-bottom: 8px;
152 }
153 .footer-left .quote {
154 font-size: 16px;
155 font-weight: 600;
156 max-width: 280px;
157 line-height: 1.45;
158 }
159 /* 顶部分隔线 */
160 .topline {
161 position: absolute;
162 top: 6%;
163 left: 6%;
164 right: 6%;
165 height: 1px;
166 background: rgba(244, 239, 230, 0.4);
167 z-index: 5;
168 }
169 .topmeta {
170 position: absolute;
171 top: 4%;
172 left: 6%;
173 right: 6%;
174 display: flex;
175 justify-content: space-between;
176 z-index: 6;
177 font-size: 11px;
178 letter-spacing: 0.28em;
179 text-transform: uppercase;
180 color: #F4EFE6;
181 opacity: 0.7;
182 }
183 .topmeta .left { color: #1B2A4A; opacity: 1; font-weight: 700; }
184 </style>
185 </head>
186 <body>
187 <div class="canvas">
188 <div class="block-orange"></div>
189 <div class="block-ink"></div>
190 <div class="band-amber"></div>
191 <div class="circle circle-coral"></div>
192 <div class="circle circle-red"></div>
193
194 <div class="topmeta">
195 <span class="left">VOL. 07 — COLOR STORY</span>
196 <span>2026 · SPRING EDITORIAL</span>
197 </div>
198 <div class="topline"></div>
199
200 <div class="header">
201 <span class="kicker">Premium Color Blocking</span>
202 <h1 class="title">让色彩<br><span class="em">替你发声</span></h1>
203 <p class="subtitle">两种色块的克制对峙,胜过千言万语。这是属于有态度的人的视觉语言。</p>
204 </div>
205
206 <div class="footer-left">
207 <div class="tag">— Manifesto</div>
208 <div class="quote">"不解释,只对峙。"</div>
209 </div>
210
211 <div class="info">
212 <div class="info-num">07</div>
213 <div class="info-label">Bold · Quiet · Loud</div>
214 </div>
215 </div>
216 </body>
217 </html>
218
218 lines HTML