HTML+CSS制作一个优雅的“网站备案中”提示页面(附源码)
HTML+CSS制作一个优雅的“网站备案中”提示页面(附源码)<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网站备案中 - ICP备案办理中</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
color: #333;
line-height: 1.6;
}
.container {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 60px 40px;
text-align: center;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
max-width: 500px;
width: 90%;
position: relative;
overflow: hidden;
}
.container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
background-size: 200% 100%;
animation: gradient 3s ease infinite;
}
@keyframes gradient {
0%,
100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}
.icon {
width: 80px;
height: 80px;
margin: 0 auto 30px;
background: linear-gradient(135deg, #667eea, #764ba2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.icon::after {
content: '🔧';
font-size: 36px;
filter: grayscale(1) brightness(0) invert(1);
}
h1 {
font-size: 28px;
font-weight: 600;
margin-bottom: 20px;
color: #2d3748;
}
.subtitle {
font-size: 16px;
color: #718096;
margin-bottom: 40px;
font-weight: 400;
}
.status {
background: #f7fafc;
border: 2px solid #e2e8f0;
border-radius: 12px;
padding: 25px;
margin-bottom: 30px;
}
.status-title {
font-size: 18px;
font-weight: 600;
color: #2d3748;
margin-bottom: 15px;
}
.progress-bar {
width: 100%;
height: 8px;
background: #e2e8f0;
border-radius: 4px;
overflow: hidden;
margin-bottom: 15px;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #667eea, #764ba2);
width: 65%;
border-radius: 4px;
animation: progress 3s ease-in-out infinite;
}
@keyframes progress {
0%,
100% {
width: 65%;
}
50% {
width: 70%;
}
}
.status-text {
font-size: 14px;
color: #718096;
}
.info {
background: #fff5f5;
border-left: 4px solid #fc8181;
padding: 20px;
border-radius: 8px;
margin-bottom: 30px;
text-align: left;
}
.info-title {
font-size: 16px;
font-weight: 600;
color: #c53030;
margin-bottom: 10px;
}
.info-text {
font-size: 14px;
color: #718096;
line-height: 1.5;
}
.contact {
font-size: 14px;
color: #718096;
margin-top: 20px;
}
.contact a {
color: #667eea;
text-decoration: none;
font-weight: 500;
}
.contact a:hover {
text-decoration: underline;
}
.footer {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #e2e8f0;
font-size: 12px;
color: #a0aec0;
}
@media (max-width: 480px) {
.container {
padding: 40px 20px;
margin: 20px;
}
h1 {
font-size: 24px;
}
.icon {
width: 60px;
height: 60px;
}
.icon::after {
font-size: 28px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="icon"></div>
<h1>网站备案办理中</h1>
<p class="subtitle">我们正在为您的网站申请ICP备案许可</p>
<div class="status">
<div class="status-title">备案进度</div>
<div class="progress-bar">
<div class="progress-fill"></div>
</div>
<div class="status-text">预计完成时间:15-20个工作日</div>
</div>
<div class="info">
<div class="info-title">温馨提示</div>
<div class="info-text">
根据《互联网信息服务管理办法》规定,网站在获得ICP备案号之前暂时无法正常访问。我们正在积极配合相关部门完成备案手续,感谢您的理解与支持。
</div>
</div>
<div class="contact">
如有紧急事务,请联系:
<a href="mailto:admin@example.com">admin@example.com</a>
</div>
<div class="footer">
网站备案是国家法律法规要求<br>
感谢您的耐心等待
</div>
</div>
</body>
</html>
页:
[1]