酷炫末世意境背景404单页HTML源码

源码介绍

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

效果预览

完整源码

html 复制代码
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>404 Apocalypse</title>
		<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css"/>
		<style>@import url(https://fonts.googleapis.com/css?family=Sigmar+One);
@import url(https://fonts.googleapis.com/css?family=Poiret+One);

body {
  background-image:url('https://wallpapercave.com/wp/jj5KxtS.jpg');
  background-attachment:fixed;
  background-size:cover;
  background-color: #222;
  margin:0px;
  padding:0px;
  overflow:hidden;
  font-family: 'Poiret One', cursive;
}

h1
{
  font-size:200px;
  width:100vw;
  text-align:center;
  
  color:rgba(0,255,0,1);
  font-family: 'Poiret One', cursive;

}



span
{
  cursor:move;
}

.underline
{
  font-size:50px;
  color:white;
  text-align:center;
}

.button
{
  font-size:50px;
  color:white;
  
  font-family: 'Poiret One', cursive;
  
  text-align:center;
}

.button span
{
  cursor:pointer;
  padding:10px;
  
  border-style:solid;
  border-radius:5px;
  
  transition:border-color 0.75s;
  -webkit-transition:border-color 0.75s;
}

.button span:hover
{
  border-color:rgb(0,255,0);
}</style>
	</head>
	<body>
		    <div class='underline'>
		      <span>Sorry</span><span>, </span><span>this </span><span>page </span><span>didn</span><span>'</span><span>t</span><span> survive</span>
		    </div>		
		    <h1><span>4</span><span>0</span><span>4</span></h1>		    
		    <div class='button'><a title='https://www.qqmu.com'><span >Join the survivors</span></a></div>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
	<script src="https://cdn.rawgit.com/tinybigideas/jGravity/f3265bdd/jGravity-min.js"></script>
	<script>/* refresh if you didn't have body's background which appears*/
$(function() {
$(document).ready(function() {
  var one =false;
  
   $('.button span').mouseover(function(){     
  	if(!one){
     			$('body').jGravity({
               target: 'span',
               ignoreClass: 'dontMove',
               weight: 25,
               depth: 100,
               drag: true
     		 });
      	one =true;
       };
   });
 
  			
});
});</script>
	</body>
</html>

页面加载有点慢,可以将远程css和js弄到本地就可以了

相关推荐
imLix14 分钟前
RunLoop 实现原理
前端·ios
微小的xx19 分钟前
java + html 图片点击文字验证码
java·python·html
wayman_he_何大民20 分钟前
初始机器学习算法 - 关联分析
前端·人工智能
飞飞飞仔24 分钟前
别再瞎写提示词了!这份Claude Code优化指南让你效率提升10倍
前端·claude
刘永胜是我24 分钟前
node版本切换
前端·node.js
成小白28 分钟前
前端实现表格下拉框筛选和表头回显和删除
前端
wayman_he_何大民29 分钟前
初始机器学习算法 - 聚类分析
前端·人工智能
wycode30 分钟前
Vue2实践(3)之用component做一个动态表单(二)
前端·javascript·vue.js
用户1092257156101 小时前
你以为的 Tailwind 并不高效,看看这些使用误区
前端
意会1 小时前
微信闪照小程序实现
前端·css·微信小程序