返回 oh-my-ppt
preview.html
1 <!DOCTYPE html>
2 <html lang="zh-CN">
3 <head>
4 <meta charset="UTF-8" />
5 <title>勃艮第红高级感</title>
6 <style>
7 * { box-sizing: border-box; margin: 0; padding: 0; }
8 html, body { width: 100%; height: 100%; overflow: hidden; }
9 body {
10 display: grid;
11 place-items: center;
12 font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
13 }
14 .slide {
15 position: relative;
16 aspect-ratio: 16 / 9;
17 width: min(100vw, calc(100vh * 16 / 9));
18 overflow: hidden;
19 background: #000000;
20 color: #FFFFFF;
21 }
22 /* 勃艮第红主块 */
23 .burgundy {
24 position: absolute;
25 top: 0; left: 0;
26 width: 64%;
27 height: 100%;
28 background: linear-gradient(135deg, #81021F 0%, #6A0219 60%, #560114 100%);
29 }
30 /* 玫瑰金细线 */
31 .gold-line {
32 position: absolute;
33 top: 50%;
34 left: 0;
35 width: 64%;
36 height: 1px;
37 background: linear-gradient(90deg, transparent 0%, #F8B37F 30%, #F8B37F 70%, transparent 100%);
38 opacity: 0.7;
39 }
40 /* 品牌 mark */
41 .brand {
42 position: absolute;
43 top: 7%;
44 left: 6%;
45 display: flex;
46 align-items: center;
47 gap: 12px;
48 }
49 .brand .mark {
50 width: 30px;
51 height: 30px;
52 border: 1.5px solid #F8B37F;
53 display: grid;
54 place-items: center;
55 color: #F8B37F;
56 font-weight: 800;
57 font-size: 16px;
58 letter-spacing: 0;
59 }
60 .brand .name {
61 color: #F8B37F;
62 font-size: clamp(11px, 1.1vw, 16px);
63 letter-spacing: 0.32em;
64 font-weight: 500;
65 }
66
67 /* 主内容 */
68 .content {
69 position: absolute;
70 top: 50%;
71 left: 6%;
72 transform: translateY(-50%);
73 max-width: 52%;
74 }
75 .eyebrow {
76 color: #F8B37F;
77 font-size: clamp(10px, 1vw, 15px);
78 letter-spacing: 0.34em;
79 font-weight: 500;
80 margin-bottom: 3%;
81 }
82 .hearts {
83 display: inline-flex;
84 gap: 4px;
85 margin-left: 12px;
86 color: #FDD95F;
87 font-size: clamp(10px, 1vw, 14px);
88 vertical-align: middle;
89 }
90 .title-en {
91 font-size: clamp(56px, 11vw, 150px);
92 font-weight: 900;
93 letter-spacing: 0.1em;
94 line-height: 0.95;
95 color: #F8B37F;
96 margin-bottom: 4%;
97 text-shadow: 0 2px 20px rgba(248,179,127,0.18);
98 }
99 .title-zh {
100 font-size: clamp(22px, 3vw, 42px);
101 font-weight: 800;
102 letter-spacing: 0.14em;
103 color: #FFFFFF;
104 }
105 .title-zh .sep {
106 color: #F8B37F;
107 margin: 0 12px;
108 font-weight: 400;
109 }
110 .sub {
111 margin-top: 5%;
112 font-size: clamp(11px, 1.15vw, 17px);
113 color: #FDD95F;
114 letter-spacing: 0.22em;
115 font-weight: 400;
116 opacity: 0.92;
117 }
118
119 /* 右侧色卡区 */
120 .cards {
121 position: absolute;
122 top: 50%;
123 right: 4%;
124 transform: translateY(-50%);
125 width: 30%;
126 display: flex;
127 flex-direction: column;
128 gap: clamp(10px, 1.4vw, 20px);
129 }
130 .card {
131 border-radius: 14px;
132 padding: clamp(12px, 1.5vw, 20px) clamp(16px, 1.8vw, 26px);
133 color: #FFFFFF;
134 position: relative;
135 }
136 .card .label {
137 font-size: clamp(10px, 1vw, 14px);
138 letter-spacing: 0.2em;
139 font-weight: 600;
140 opacity: 0.92;
141 }
142 .card .hex {
143 font-size: clamp(9px, 0.9vw, 13px);
144 margin-top: 6px;
145 letter-spacing: 0.16em;
146 opacity: 0.78;
147 font-weight: 400;
148 }
149 .c-main { background: linear-gradient(135deg, #81021F, #560114); }
150 .c-gold { background: linear-gradient(135deg, #F8B37F, #E89A5E); color: #3A1500; }
151 .c-gold .hex { color: #3A1500; opacity: 0.7; }
152 .c-gray { background: linear-gradient(135deg, #363636, #1F1F1F); }
153 .c-blue { background: linear-gradient(135deg, #093D77, #062A52); }
154
155 /* 底部签名 */
156 .footer {
157 position: absolute;
158 bottom: 6%;
159 left: 6%;
160 display: flex;
161 align-items: center;
162 gap: 14px;
163 }
164 .footer .bar { width: 36px; height: 2px; background: #F8B37F; }
165 .footer .text {
166 color: #F8B37F;
167 font-size: clamp(10px, 1vw, 14px);
168 letter-spacing: 0.28em;
169 font-weight: 500;
170 }
171 </style>
172 </head>
173 <body>
174 <div class="slide">
175 <div class="burgundy"></div>
176 <div class="gold-line"></div>
177
178 <div class="brand">
179 <div class="mark">Z</div>
180 <div class="name">CHUANGYI · 创艺</div>
181 </div>
182
183 <div class="content">
184 <div class="eyebrow">
185 配色灵感
186 <span class="hearts">♥ ♥ ♥ ♥ ♥ ♥</span>
187 </div>
188 <div class="title-en">COLOR</div>
189 <div class="title-zh">勃艮第红<span class="sep">·</span>高级感配色</div>
190 <div class="sub">不一样的配色 · 绚丽多彩</div>
191 </div>
192
193 <div class="cards">
194 <div class="card c-main">
195 <div class="label">BURGUNDY · 主色</div>
196 <div class="hex">#81021F</div>
197 </div>
198 <div class="card c-gold">
199 <div class="label">ROSE GOLD · 强调</div>
200 <div class="hex">#F8B37F</div>
201 </div>
202 <div class="card c-gray">
203 <div class="label">DEEP GRAY · 平衡</div>
204 <div class="hex">#363636</div>
205 </div>
206 <div class="card c-blue">
207 <div class="label">INDIGO · 点缀</div>
208 <div class="hex">#093D77</div>
209 </div>
210 </div>
211
212 <div class="footer">
213 <span class="bar"></span>
214 <span class="text">PREMIUM PALETTE · 2026</span>
215 </div>
216 </div>
217 </body>
218 </html>
219
219 lines HTML