-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.css
62 lines (56 loc) · 1.19 KB
/
404.css
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
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');
body {
margin: 0;
padding: 0;
font-family: 'Roboto Slab', serif;
color: white;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
height: 100vh;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
div {
width: 100%;
position: absolute;
top: 50%;
transform: translateY(-50%);
text-align: center;
background-size: cover;
}
div h1 {
font-size: 190px;
margin: 0;
color: black;
letter-spacing: 20px;
background: url(404.jpg) center no-repeat;
background-size: cover;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-stroke-width: 10px;
font-family: 'Roboto Slab', serif;
}
div a {
text-decoration: none;
background: #e55039aa;
color: #fff;
padding: 12px 24px;
display: inline-block;
border-radius: 25px;
font-size: 14px;
text-transform: uppercase;
transition: 0.4s;
}
div a:hover {
background: #e55039;
}