404页面优化
This commit is contained in:
parent
eeea64c737
commit
0a1f007c7c
2
404.html
2
404.html
@ -34,7 +34,7 @@ permalink: /404.html
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="NotFound">
|
<div class="NotFound">
|
||||||
<!--NOT FOUND-->
|
即将回到首页。。。
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
|
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
|
||||||
|
14
css/myui.css
14
css/myui.css
@ -316,10 +316,22 @@ body {
|
|||||||
left: 0px
|
left: 0px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.NotFound {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
width:100%;
|
||||||
|
text-align: center;
|
||||||
|
top:50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
color: white;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 1440px;
|
max-width: 1440px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
position: relative
|
position: relative;
|
||||||
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container:before {
|
.container:before {
|
||||||
|
Loading…
Reference in New Issue
Block a user