403禁止页面带打字效果

2018-12-08 18:00:19 作者: 邵先森 浏览: 764

403禁止页面带打字效果,也适用于404页面。效果:http://lanyou.vip/404

HTML
  1. 403
  2. > ERROR CODE: "HTTP 403 Forbidden"

  3. > ERROR DESCRIPTION: "Access Denied. You Do Not Have The Permission To Access This Page On This Server"

  4. > ERROR POSSIBLY CAUSED BY: [execute access forbidden, read access forbidden, write access forbidden, ssl required, ssl 128 required, ip address rejected, client certificate required, site access denied, too many users, invalid configuration, password change, mapper denied access, client certificate revoked, directory listing denied, client access licenses exceeded, client certificate is untrusted or invalid, client certificate has expired or is not yet valid, passport logon failed, source access denied, infinite depth is denied, too many requests from the same client ip...]

  5. > SOME PAGES ON THIS SERVER THAT YOU DO HAVE PERMISSION TO ACCESS: [Home Page, About Us, Contact Us, Blog...]

    > HAVE A NICE DAY SIR AXLEROD :-)

CSS
  1. * {margin: 0; padding: 0; border: 0;font-size: 100%; font: inherit;vertical-align: baseline; box-sizing: border-box;color: inherit;}
  2. body { background-image: linear-gradient(120deg, #4f0088 0%, #000000 100%);height: 100vh;}
  3. h1 {font-size: 45vw;text-align: center;position: fixed; width: 100vw; z-index: 1; color: #ffffff26;text-shadow: 0 0 50px rgba(0, 0, 0, 0.07);top: 50%;-webkit-transform: translateY(-50%);transform: translateY(-50%); font-family: "Montserrat", monospace;}
  4. div { background: rgba(0, 0, 0, 0); width: 70vw;position: relative; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); margin: 0 auto; padding: 30px 30px 10px;box-shadow: 0 0 150px -20px rgba(0, 0, 0, 0.5);z-index: 3;}
  5. P { font-family: "Share Tech Mono", monospace;color: #f5f5f5;margin: 0 0 20px; font-size: 17px;line-height: 1.2;}
  6. span {color: #f0c674;}
  7. i {color: #8abeb7;}
  8. div a {text-decoration: none;}
  9. b {color: #81a2be;}
  10. a.avatar { position: fixed;bottom: 15px; right: -100px; -webkit-animation: slide 0.5s 4.5s forwards; animation: slide 0.5s 4.5s forwards; display: block;z-index: 4}
  11. a.avatar img{width:44px;border:2px solid #fff;border-radius:100%;}
  12. @-webkit-keyframes slide{from{right:-100px;opacity:0;-webkit-transform:rotate(360deg);transform:rotate(360deg);}
  13. to{right:15px;opacity:1;-webkit-transform:rotate(0);transform:rotate(0);}
  14. }
  15. @keyframes slide{from{right:-100px;opacity:0;-webkit-transform:rotate(360deg);transform:rotate(360deg);}
  16. to{right:15px;opacity:1;-webkit-transform:rotate(0);transform:rotate(0);}
  17. }
JS
  1. var str = document.getElementsByTagName('div')[0].innerHTML.toString();
  2. var i = 0;
  3. document.getElementsByTagName('div')[0].innerHTML = "";
  4.  
  5. setTimeout(function() {
  6. var se = setInterval(function() {
  7. i++;
  8. document.getElementsByTagName('div')[0].innerHTML = str.slice(0, i) + "|";
  9. if (i == str.length) {
  10. clearInterval(se);
  11. document.getElementsByTagName('div')[0].innerHTML = str;
  12. }
  13. }, 10);
  14. },0);


评论
本文作者 阅读排行 文章推荐

首页
最新
投稿
精选
我的