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效果图
时间: 2024-11-20 03:16:19