-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (48 loc) · 1.28 KB
/
Copy pathindex.html
File metadata and controls
52 lines (48 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>test页面</title>
<style>
/* 页面整体样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
/* 渐变背景 */
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Arial', sans-serif;
}
/* 问候文字样式 */
.greeting {
color: white;
font-size: 2.5rem;
text-align: center;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
padding: 2rem;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
/* 响应式调整 */
@media (max-width: 600px) {
.greeting {
font-size: 1.8rem;
padding: 1.5rem;
}
}
</style>
</head>
<body>
<div class="greeting">
你好!欢迎来访
</div>
</body>
</html>