-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (66 loc) · 1022 Bytes
/
style.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html {
font-size: 62.5%;
}
body {
height: 100vh;
background-color: rgb(7, 4, 42);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
filter: blur(1px);
}
.box {
background-color: rgb(82, 82, 82);
width: 60rem;
border: 2px solid #fff;
padding: 2.4rem;
animation: move 10s step-start infinite forwards;
}
h1 {
text-align: center;
font-size: 3.6rem;
margin-bottom: 2.4rem;
}
h2 {
font-size: 3.6rem;
text-align: center;
background-color: gray;
margin-bottom: 2.4rem;
}
h3 {
font-size: 2.4rem;
}
@keyframes move {
0.0% {
transform: translate(0, -30px);
}
100% {
}
19.6% {
transform: translate(0, -60px);
}
39.6% {
transform: translate(0, -90px);
}
59.7% {
transform: translate(0, -60px);
}
80.4% {
transform: translate(0, -30px);
}
}
@media (max-width: 41.25em) {
html {
font-size: 50%;
}
.box {
margin: 0 auto;
width: 90%;
}
}