返回列表 发布新帖
查看: 1|回复: 0

[源码] HTML+CSS制作一个优雅的“网站备案中”提示页面(附源码)

灌水成绩
154
5
1291
主题
回帖
积分

等级头衔
U I D : 8
等级 : Lv.15

积分成就
贡献 : 539
金钱 : 19030
在线时间 : 42 小时
注册时间 : 2024-11-24
最后登录 : 2025-6-20

荣誉勋章

2024万圣节纪念币杰出贡献纪念币种子用户纪念币2024龙年纪念币2025蛇年纪念币

发表于 5 小时前 | 查看全部 |阅读模式
HTML+CSS制作一个优雅的“网站备案中”提示页面(附源码)

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3.         <head>
  4.                 <meta charset="UTF-8">
  5.                 <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.                 <title>网站备案中 - ICP备案办理中</title>
  7.                 <style>
  8.                         * {
  9.                                 margin: 0;
  10.                                 padding: 0;
  11.                                 box-sizing: border-box;
  12.                         }

  13.                         body {
  14.                                 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  15.                                 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  16.                                 min-height: 100vh;
  17.                                 display: flex;
  18.                                 align-items: center;
  19.                                 justify-content: center;
  20.                                 color: #333;
  21.                                 line-height: 1.6;
  22.                         }

  23.                         .container {
  24.                                 background: rgba(255, 255, 255, 0.95);
  25.                                 backdrop-filter: blur(10px);
  26.                                 border-radius: 20px;
  27.                                 padding: 60px 40px;
  28.                                 text-align: center;
  29.                                 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  30.                                 max-width: 500px;
  31.                                 width: 90%;
  32.                                 position: relative;
  33.                                 overflow: hidden;
  34.                         }

  35.                         .container::before {
  36.                                 content: '';
  37.                                 position: absolute;
  38.                                 top: 0;
  39.                                 left: 0;
  40.                                 right: 0;
  41.                                 height: 4px;
  42.                                 background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
  43.                                 background-size: 200% 100%;
  44.                                 animation: gradient 3s ease infinite;
  45.                         }

  46.                         @keyframes gradient {

  47.                                 0%,
  48.                                 100% {
  49.                                         background-position: 0% 50%;
  50.                                 }

  51.                                 50% {
  52.                                         background-position: 100% 50%;
  53.                                 }
  54.                         }

  55.                         .icon {
  56.                                 width: 80px;
  57.                                 height: 80px;
  58.                                 margin: 0 auto 30px;
  59.                                 background: linear-gradient(135deg, #667eea, #764ba2);
  60.                                 border-radius: 50%;
  61.                                 display: flex;
  62.                                 align-items: center;
  63.                                 justify-content: center;
  64.                                 position: relative;
  65.                                 animation: pulse 2s ease-in-out infinite;
  66.                         }

  67.                         @keyframes pulse {

  68.                                 0%,
  69.                                 100% {
  70.                                         transform: scale(1);
  71.                                 }

  72.                                 50% {
  73.                                         transform: scale(1.05);
  74.                                 }
  75.                         }

  76.                         .icon::after {
  77.                                 content: '🔧';
  78.                                 font-size: 36px;
  79.                                 filter: grayscale(1) brightness(0) invert(1);
  80.                         }

  81.                         h1 {
  82.                                 font-size: 28px;
  83.                                 font-weight: 600;
  84.                                 margin-bottom: 20px;
  85.                                 color: #2d3748;
  86.                         }

  87.                         .subtitle {
  88.                                 font-size: 16px;
  89.                                 color: #718096;
  90.                                 margin-bottom: 40px;
  91.                                 font-weight: 400;
  92.                         }

  93.                         .status {
  94.                                 background: #f7fafc;
  95.                                 border: 2px solid #e2e8f0;
  96.                                 border-radius: 12px;
  97.                                 padding: 25px;
  98.                                 margin-bottom: 30px;
  99.                         }

  100.                         .status-title {
  101.                                 font-size: 18px;
  102.                                 font-weight: 600;
  103.                                 color: #2d3748;
  104.                                 margin-bottom: 15px;
  105.                         }

  106.                         .progress-bar {
  107.                                 width: 100%;
  108.                                 height: 8px;
  109.                                 background: #e2e8f0;
  110.                                 border-radius: 4px;
  111.                                 overflow: hidden;
  112.                                 margin-bottom: 15px;
  113.                         }

  114.                         .progress-fill {
  115.                                 height: 100%;
  116.                                 background: linear-gradient(90deg, #667eea, #764ba2);
  117.                                 width: 65%;
  118.                                 border-radius: 4px;
  119.                                 animation: progress 3s ease-in-out infinite;
  120.                         }

  121.                         @keyframes progress {

  122.                                 0%,
  123.                                 100% {
  124.                                         width: 65%;
  125.                                 }

  126.                                 50% {
  127.                                         width: 70%;
  128.                                 }
  129.                         }

  130.                         .status-text {
  131.                                 font-size: 14px;
  132.                                 color: #718096;
  133.                         }

  134.                         .info {
  135.                                 background: #fff5f5;
  136.                                 border-left: 4px solid #fc8181;
  137.                                 padding: 20px;
  138.                                 border-radius: 8px;
  139.                                 margin-bottom: 30px;
  140.                                 text-align: left;
  141.                         }

  142.                         .info-title {
  143.                                 font-size: 16px;
  144.                                 font-weight: 600;
  145.                                 color: #c53030;
  146.                                 margin-bottom: 10px;
  147.                         }

  148.                         .info-text {
  149.                                 font-size: 14px;
  150.                                 color: #718096;
  151.                                 line-height: 1.5;
  152.                         }

  153.                         .contact {
  154.                                 font-size: 14px;
  155.                                 color: #718096;
  156.                                 margin-top: 20px;
  157.                         }

  158.                         .contact a {
  159.                                 color: #667eea;
  160.                                 text-decoration: none;
  161.                                 font-weight: 500;
  162.                         }

  163.                         .contact a:hover {
  164.                                 text-decoration: underline;
  165.                         }

  166.                         .footer {
  167.                                 margin-top: 40px;
  168.                                 padding-top: 20px;
  169.                                 border-top: 1px solid #e2e8f0;
  170.                                 font-size: 12px;
  171.                                 color: #a0aec0;
  172.                         }

  173.                         @media (max-width: 480px) {
  174.                                 .container {
  175.                                         padding: 40px 20px;
  176.                                         margin: 20px;
  177.                                 }

  178.                                 h1 {
  179.                                         font-size: 24px;
  180.                                 }

  181.                                 .icon {
  182.                                         width: 60px;
  183.                                         height: 60px;
  184.                                 }

  185.                                 .icon::after {
  186.                                         font-size: 28px;
  187.                                 }
  188.                         }
  189.                 </style>
  190.         </head>
  191.         <body>
  192.                 <div class="container">
  193.                         <div class="icon"></div>

  194.                         <h1>网站备案办理中</h1>
  195.                         <p class="subtitle">我们正在为您的网站申请ICP备案许可</p>

  196.                         <div class="status">
  197.                                 <div class="status-title">备案进度</div>
  198.                                 <div class="progress-bar">
  199.                                         <div class="progress-fill"></div>
  200.                                 </div>
  201.                                 <div class="status-text">预计完成时间:15-20个工作日</div>
  202.                         </div>

  203.                         <div class="info">
  204.                                 <div class="info-title">温馨提示</div>
  205.                                 <div class="info-text">
  206.                                         根据《互联网信息服务管理办法》规定,网站在获得ICP备案号之前暂时无法正常访问。我们正在积极配合相关部门完成备案手续,感谢您的理解与支持。
  207.                                 </div>
  208.                         </div>

  209.                         <div class="contact">
  210.                                 如有紧急事务,请联系:
  211.                                 <a href="mailto:admin@example.com">admin@example.com</a>
  212.                         </div>

  213.                         <div class="footer">
  214.                                 网站备案是国家法律法规要求<br>
  215.                                 感谢您的耐心等待
  216.                         </div>
  217.                 </div>
  218.         </body>
  219. </html>
复制代码



温馨提示:本网站所展示的内容均由注册会员自行发布,这些内容仅代表作者本人的观点和立场,并不代表本网站的官方立场或意见。我们致力于打造一个开放的社区平台,鼓励用户自由表达和分享信息。然而,我们也明确声明,对于用户发布的内容,我们不承担任何法律责任。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

服务支持

社区监狱 封禁类型
投诉/建议联系

fankui@shequla.com

未经授权禁止转载,复制和建立镜像
如有违反,追究法律责任
  • 微信公众号
  • 哔哩哔哩
Copyright © 2001-2025 社区啦 - 小众的中文社区 版权所有 All Rights Reserved. |网站地图 冀ICP备2022019298号
关灯 在本版发帖
手机扫一扫访问
官方Q群返回顶部
快速回复 返回顶部 返回列表