122 lines
3.1 KiB
HTML
122 lines
3.1 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 {
|
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
|
|
color: white;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
padding: 40px;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 20px;
|
|
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
|
|
animation: fadeIn 1.5s ease-out;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 5rem;
|
|
margin-bottom: 20px;
|
|
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
|
|
letter-spacing: 2px;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
p {
|
|
font-size: 1.5rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 30px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.decoration {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
margin: 30px 0;
|
|
}
|
|
|
|
.circle {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background-color: white;
|
|
opacity: 0.7;
|
|
animation: bounce 2s infinite alternate;
|
|
}
|
|
|
|
.circle:nth-child(2) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.circle:nth-child(3) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.quote {
|
|
font-style: italic;
|
|
margin-top: 40px;
|
|
padding: 20px;
|
|
border-left: 3px solid rgba(255, 255, 255, 0.5);
|
|
text-align: left;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(30px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(1.05); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
@keyframes bounce {
|
|
from { transform: translateY(0); }
|
|
to { transform: translateY(-15px); }
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
h1 {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.container {
|
|
padding: 25px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>你好</h1>
|
|
|
|
<p>一个简单的短语,蕴含着无限的可能性...</p>
|
|
</div>
|
|
</body>
|
|
</html> |