<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>废江-404</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).mousemove(function (event) {
$('.torch').css({
'top': event.pageY,
'left': event.pageX
});
});
</script>
<!--<link rel="stylesheet" href="css/style.css">-->
<style type="text/css">
html {
height: 100%;
}
body {
height: 100%;
background: url("https://imgbeed.jiangkk.top/images/2020/01/03/6.jpg") no-repeat left top;
background-size: cover;
overflow: hidden;
display: flex;
flex-flow: column wrap;
justify-content: center;
align-items: center;
}
.text h1 {
color: #011718;
margin-top: -200px;
font-size: 15em;
text-align: center;
text-shadow: -5px 5px 0px rgba(0, 0, 0, 0.7), -10px 10px 0px rgba(0, 0, 0, 0.4), -15px 15px 0px rgba(0, 0, 0, 0.2);
font-family: monospace;
font-weight: bold;
}
.text h2 {
color: black;
font-size: 5em;
text-shadow: -5px 5px 0px rgba(0, 0, 0, 0.7);
text-align: center;
margin-top: -150px;
font-family: monospace;
font-weight: bold;
}
.text h3 {
color: white;
margin-left: 30px;
font-size: 2em;
text-shadow: -5px 5px 0px rgba(0, 0, 0, 0.7);
margin-top: -40px;
font-family: monospace;
font-weight: bold;
}
.torch {
margin: -150px 0 0 -150px;
width: 500px;
height: 500px;
box-shadow: 0 0 0 9999em #000000f7;
opacity: 1;
border-radius: 50%;
position: fixed;
background: rgba(0, 0, 0, 0.1);
}
.torch:after {
content: '';
display: block;
border-radius: 50%;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
box-shadow: inset 0 0 40px 2px #000, 0 0 20px 4px rgba(13, 13, 10, 0.8);
}
</style>
</head>
<body>
<div class="text">
<h1>404</h1>
<h2>Uh, Ohh</h2>
<h3>对不起,我们找不到你要找的东西,因为这里太黑了</h3>
</div>
<div class="torch"></div>
<!-- <script src='js/jquery.min.js'></script> -->
<script src="js/script.js"></script>
</body>
</html>
演示效果请在pc端查看
废江博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 转载请注明原文链接:个性404页面