一个抽象搞怪的 404 页面

一个简洁美观的自定义404错误页面模板,使用Bootstrap 3和Google Fonts Arvo字体设计,支持响应式布局和CSS动画背景,适合网站错误页面优化与用户体验提升。

<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <title>404 页面</title>
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"
    />
    <link
      rel="stylesheet"
      href="https://fonts.googleapis.com/css?family=Arvo"
    />
    <style>
      .page_404 {
        padding: 40px 0;
        background: #fff;
        font-family: "Arvo", serif;
      }

      .page_404 img {
        width: 100%;
      }

      .four_zero_four_bg {
        background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
        height: 400px;
        background-position: center;
      }

      .four_zero_four_bg h1 {
        font-size: 80px;
      }

      .four_zero_four_bg h3 {
        font-size: 80px;
      }

      .link_404 {
        color: #fff !important;
        padding: 10px 20px;
        background: #39ac31;
        margin: 20px 0;
        display: inline-block;
      }
      .contant_box_404 {
        margin-top: -50px;
      }
    </style>
  </head>
  <body>
    <section class="page_404">
      <div class="container">
        <div class="row">
          <div class="col-sm-12">
            <div class="col-sm-10 col-sm-offset-1 text-center">
              <div class="four_zero_four_bg">
                <h1 class="text-center">404</h1>
              </div>

              <div class="contant_box_404">
                <h3 class="h2">看起来你迷路了</h3>

                <p>页面不存在,请检查页面地址是否正确</p>

                <a href="" class="link_404">返回首页</a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </body>
</html>

 

上一篇 智能赋能:在AI浪潮中重塑个人与组织的竞争力
下一篇 全面兼容IPV4/IPV6
太行听风

太行听风管理员

“我”在河南,心在“你”附近

本月创作热力图

文章目录
随机文章
1 47天的信任周期:SSL证书有效期缩短,是安全升级还是运维噩梦?
47天的信任周期:SSL证书有效期缩短,是安全升级还是运维噩梦?
2
WordPress 与 Halo 对比分析:传统巨头 vs 新生代轻量博客系统
WordPress 与 Halo 对比分析:传统巨头 vs 新生代轻量博客系统
3
8款国人开发WordPress免费主题推荐:打造卓越个人博客
8款国人开发WordPress免费主题推荐:打造卓越个人博客
4
WP Adminify Premium 4.0.7.7汉化中文版|自定义设置WordPress后台美化插件
WP Adminify Premium 4.0.7.7汉化中文版|自定义设置WordPress后台美化插件
5
好看的网站维护倒计时界面
好看的网站维护倒计时界面
站长声明

本站部分内容转载自网络,作品版权归原作者及来源网站所有,任何内容转载、商业用途等均须联系原作者并注明来源。