forked from ChromeGaming/Dot-Box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
67 lines (66 loc) · 1.48 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404:Page not found</title>
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
</head>
<style>
body{
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f6f6f6;
}
.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90vh;
}
.pic{
width: 700px;
height: 700px;
animation: updown 2s ease-in-out infinite alternate;
}
@keyframes updown {
from{
transform: translateY(0);
}
to{
transform: translateY(20px);
}
}
a{
text-decoration: none;
color: #353535;
}
.btn{
position: absolute;
padding: 10px 20px;
background-color: #32ddaac9;
border-radius: 5px;
font-size: 20px;
font-weight: bold;
border: none;
top: 600px;
}
@media screen and (max-width: 600px) {
.pic{
width: 300px;
height: 300px;
}
.btn{
top: 400px;
}
}
</style>
<body>
<div class="center">
<img src="img/404pic.png" alt="404 pic" class="pic">
<button class="btn"><a href="index.html">Home</a></button>
</div>
</body>
</html>