网站出毛病了404网页源码 错误页面html单页

分享一款网站出毛病了!404网页源码,这次轮到你去整了错误页面html单页,网站自适应可以返回首页和联系客服,利于网站优化。

页面展示

网站出毛病了404网页源码 错误页面html单页

下载地址

https://dmfhy.lanzout.com/iT7KG14enx1c

代码展示

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>404页面 - www.xiaolanzy.com</title>
    <meta name="renderer" content="webkit"/>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"/>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            font-family: "微软雅黑";
        }

        img {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .container {
            max-width: 90%;
            margin: 0 auto;
            padding-top: 80px;
        }

        .bg {
            display: block;
            max-width: 100%;
            margin: 0px auto;
        }

        .btn {
            width: 400px;
            margin: 0 auto;
            max-width: 100%;
            margin-top: 40px;
        }

        .btn a {
            float: left;
            text-decoration: none;
            width: 46.5%;
            border: 1px solid #5298ff;
            background: #5298ff;
            color: #FFF;
            display: block;
            height: 46px;
            line-height: 44px;
            text-align: center;
            font-size: 16px;
            border-radius: 3px;
            overflow: hidden;
        }

        .btn .goindex {
            margin-right: 7%;
        }

        .btn .lx {
            border: 1px solid #d8d8d8;
            background: #ffffff;
            color: #8c8c8c;
        }

        @media screen and (max-width: 500px) {
            .btn {
                width: 85%;
            }

            .btn a {
                width: 100%;
                font-size: 15px;
                height: 42px;
                line-height: 42px;
            }

            .btn .goindex {
                margin-right: 0;
                margin-bottom: 20px;
            }
        }
    </style>
</head>
<body>
<div class="container">
    <img src="assets/images/404.png" class="bg"/>
    <div class="btn">
        <a href="https://www.xiaolanzy.com" class="goindex">回到首页</a>
        <a href="https://www.xiaolanzy.com/68518549/" target="_blank" class="lx">联系站长</a>
        <div style="clear: both;"></div>
    </div>
</div>
</body>
</html>

原创文章,作者:李康哲,如若转载,请注明出处:https://www.xiaolanzy.com/99.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
李康哲的头像李康哲
上一篇 2023年 8月 4日 下午3:34
下一篇 2023年 8月 4日 下午3:53

相关推荐

发表回复

登录后才能评论