-
Notifications
You must be signed in to change notification settings - Fork 26
/
404.html
81 lines (70 loc) · 1.58 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!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="icon" href="./favicon.png" type="image/png" />
</head>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #000000e1;
}
.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90vh;
}
.pic {
width: 600px;
height: 600px;
animation: updown 2s ease-in-out infinite alternate;
transition: all 0.3s ease-in-out;
}
.pic:hover{
filter: drop-shadow(0 0 8px #277ada);
}
@keyframes updown {
from {
transform: translateY(0);
}
to {
transform: translateY(20px);
}
}
a {
text-decoration: none;
color: #353535;
}
.btn {
position: absolute;
padding: 10px 20px;
background-color: #3290ddc9;
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="404error.png" alt="404 pic" class="pic">
<button class="btn"><a href="index.html">Home</a></button>
</div>
</body>
</html>