108 lines
3.2 KiB
HTML
108 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>电动车封面</title>
|
||
<style>
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
body {
|
||
width: 800px;
|
||
height: 400px;
|
||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
align-items: center;
|
||
font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
body::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: -50%;
|
||
left: -50%;
|
||
width: 200%;
|
||
height: 200%;
|
||
background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 50%);
|
||
animation: rotate 20s linear infinite;
|
||
}
|
||
@keyframes rotate {
|
||
from { transform: rotate(0deg); }
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
.content {
|
||
position: relative;
|
||
z-index: 1;
|
||
text-align: center;
|
||
color: white;
|
||
}
|
||
.logo {
|
||
width: 80px;
|
||
height: 80px;
|
||
background: linear-gradient(135deg, #e94560, #ff6b6b);
|
||
border-radius: 20px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin: 0 auto 30px;
|
||
font-size: 40px;
|
||
box-shadow: 0 10px 30px rgba(233,69,96,0.4);
|
||
}
|
||
h1 {
|
||
font-size: 48px;
|
||
font-weight: 800;
|
||
margin-bottom: 20px;
|
||
background: linear-gradient(90deg, #fff, #e94560);
|
||
-webkit-background-clip: text;
|
||
-webkit-text-fill-color: transparent;
|
||
background-clip: text;
|
||
}
|
||
.subtitle {
|
||
font-size: 24px;
|
||
color: rgba(255,255,255,0.8);
|
||
margin-bottom: 30px;
|
||
}
|
||
.tags {
|
||
display: flex;
|
||
gap: 15px;
|
||
justify-content: center;
|
||
flex-wrap: wrap;
|
||
}
|
||
.tag {
|
||
background: rgba(255,255,255,0.15);
|
||
padding: 8px 20px;
|
||
border-radius: 25px;
|
||
font-size: 16px;
|
||
border: 1px solid rgba(255,255,255,0.2);
|
||
}
|
||
.date {
|
||
position: absolute;
|
||
bottom: 30px;
|
||
right: 30px;
|
||
font-size: 18px;
|
||
color: rgba(255,255,255,0.6);
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="content">
|
||
<div class="logo">🚗</div>
|
||
<h1>2026电动车选购指南</h1>
|
||
<p class="subtitle">买对不买贵!这5点一定要记住</p>
|
||
<div class="tags">
|
||
<span class="tag">🔋 续航</span>
|
||
<span class="tag">💰 性价比</span>
|
||
<span class="tag">🛡️ 避坑</span>
|
||
<span class="tag">⚡ 新国标</span>
|
||
</div>
|
||
</div>
|
||
<div class="date">2026年3月8日</div>
|
||
</body>
|
||
</html>
|