码迷,mamicode.com
首页 > 编程语言 > 详细

spring mvc 404页面制作

时间:2017-07-01 22:38:30      阅读:355      评论:0      收藏:0      [点我收藏+]

标签:refresh   nim   系统   head   ase   ram   frame   ros   stat   

1、404页面

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>维护中</title>
    <style type="text/css">
        * {margin: 0;padding: 0;}

        body{background: url(/static/img/print.png);}
        .cont{text-align: center;}
        a{text-decoration: none;}
        .hanger{width: 317px;height: 290px;background: url(/static/img/plate.png);margin: 120px auto 0;font-family: "Microsoft YaHei";
            -webkit-transform-origin: center top;
            -moz-transform-origin: center top;
            transform-origin: center top;
            -webkit-animation: error-swing infinite 2s ease-in-out alternate;
            -moz-animation: error-swing infinite 2s ease-in-out alternate;
            animation: error-swing infinite 2s ease-in-out alternate
        }
        .error{font-size: 30px;width: 100%;margin-top:120px;display: inline-block;}
        .error404{font-size: 48px;margin-top: 12px;display: inline-block;width: 100%;}
        .notfound{margin: 48px 0 0 8px;font-size: 24px;color: #d00;}
        .testfint{margin: 16px 0 0 3px;font-size: 14px;}
        .btn{display: inline-block;background: #a6d037;color: #fff;padding:6px 10px;border-radius: 4px;margin-top: 12px;font-size: 12px;}


        @-webkit-keyframes error-swing {
            0% {-webkit-transform: rotate(1deg) }
            100% {-webkit-transform: rotate(-2deg) }
        }
        @-moz-keyframes error-swing {
            0% {-moz-transform: rotate(1deg) }
            100% {-moz-transform: rotate(-2deg) }
        }
        @keyframes error-swing {
            0% {transform: rotate(1deg) }
            100% {transform: rotate(-2deg) }
        }
    </style>
</head>
<body>
    <div class="cont">
        <div class="hanger">
            <span class="error">抱歉</span>
            <span class="error404">维护中</span>
        </div>
        <p class="notfound">很抱歉,系统正在维护中!</p>
        <p class="testfint">开放时间可能视维护情况有所调整</p>
        <a href="http://www.liyingjituan.com" target="_blank" class="btn backhome">去这里看看</a>
        <a href="javascript:location.reload()" class="btn refresh">刷新本站</a>
    </div>
</body>
</html>

 

2、print.png图片

技术分享

3、plate.png图片

技术分享

4、404效果图

技术分享

spring mvc 404页面制作

标签:refresh   nim   系统   head   ase   ram   frame   ros   stat   

原文地址:http://www.cnblogs.com/linjiqin/p/7103581.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!