IT评测·应用市场-qidao123.com

标题: 酷炫末世意境配景404单页HTML源码 [打印本页]

作者: 冬雨财经    时间: 2024-7-23 11:42
标题: 酷炫末世意境配景404单页HTML源码
源码介绍

酷炫末世意境配景404单页HTML源码,配景布满着破坏一切的意境,彷佛末世的到来,可以做网站错误页或者丢失页面,将下面的代码放到空白的HTML内里,然后上传到服务器内里,设置好重定向即可
结果预览


完整源码

  1. <!DOCTYPE html>
  2. <html>
  3.         <head>
  4.                 <meta charset="utf-8">
  5.                 <title>404 Apocalypse</title>
  6.                 <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css"/>
  7.                 <style>@import url(https://fonts.googleapis.com/css?family=Sigmar+One);
  8. @import url(https://fonts.googleapis.com/css?family=Poiret+One);
  9. body {
  10.   background-image:url('https://wallpapercave.com/wp/jj5KxtS.jpg');
  11.   background-attachment:fixed;
  12.   background-size:cover;
  13.   background-color: #222;
  14.   margin:0px;
  15.   padding:0px;
  16.   overflow:hidden;
  17.   font-family: 'Poiret One', cursive;
  18. }
  19. h1
  20. {
  21.   font-size:200px;
  22.   width:100vw;
  23.   text-align:center;
  24.   
  25.   color:rgba(0,255,0,1);
  26.   font-family: 'Poiret One', cursive;
  27. }
  28. span
  29. {
  30.   cursor:move;
  31. }
  32. .underline
  33. {
  34.   font-size:50px;
  35.   color:white;
  36.   text-align:center;
  37. }
  38. .button
  39. {
  40.   font-size:50px;
  41.   color:white;
  42.   
  43.   font-family: 'Poiret One', cursive;
  44.   
  45.   text-align:center;
  46. }
  47. .button span
  48. {
  49.   cursor:pointer;
  50.   padding:10px;
  51.   
  52.   border-style:solid;
  53.   border-radius:5px;
  54.   
  55.   transition:border-color 0.75s;
  56.   -webkit-transition:border-color 0.75s;
  57. }
  58. .button span:hover
  59. {
  60.   border-color:rgb(0,255,0);
  61. }</style>
  62.         </head>
  63.         <body>
  64.                     <div class='underline'>
  65.                       <span>Sorry</span><span>, </span><span>this </span><span>page </span><span>didn</span><span>'</span><span>t</span><span> survive</span>
  66.                     </div>               
  67.                     <h1><span>4</span><span>0</span><span>4</span></h1>                    
  68.                     <div class='button'><a title='https://www.qqmu.com'><span >Join the survivors</span></a></div>
  69.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  70.         <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
  71.         <script src="https://cdn.rawgit.com/tinybigideas/jGravity/f3265bdd/jGravity-min.js"></script>
  72.         <script>/* refresh if you didn't have body's background which appears*/
  73. $(function() {
  74. $(document).ready(function() {
  75.   var one =false;
  76.   
  77.    $('.button span').mouseover(function(){     
  78.           if(!one){
  79.                              $('body').jGravity({
  80.                target: 'span',
  81.                ignoreClass: 'dontMove',
  82.                weight: 25,
  83.                depth: 100,
  84.                drag: true
  85.                       });
  86.               one =true;
  87.        };
  88.    });
  89.                          
  90. });
  91. });</script>
  92.         </body>
  93. </html>
复制代码
页面加载有点慢,可以将远程css和js弄到本地就可以了

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 IT评测·应用市场-qidao123.com (https://dis.qidao123.com/) Powered by Discuz! X3.4