-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (66 loc) · 1.1 KB
/
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: sans-serif;
font-weight: bold;
background: #202020;
}
ul {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, 50%);
margin: 0;
padding: 0;
display: flex;
}
ul li {
list-style: none;
font-size: 5em;
animation: animate 3s linear infinite;
}
@keyframes animate {
0% {
transform: translateX(-50px);
letter-spacing: 20px;
opacity: 0;
color: #ffd100;
}
10% {
opacity: 1;
}
50% {
letter-spacing: -20px;
opacity: 1;
}
100% {
transform: translateX(50px);
letter-spacing: 20px;
opacity: 0;
color: #0082d1;
}
}
ul li:nth-child(1) {
animation-delay: 0s;
}
ul li:nth-child(2) {
animation-delay: 0.2s;
}
ul li:nth-child(3) {
animation-delay: 0.4s;
}
ul li:nth-child(4) {
animation-delay: 0.6s;
}
ul li:nth-child(5) {
animation-delay: 0.8s;
}
ul li:nth-child(6) {
animation-delay: 1s;
}
ul li:nth-child(7) {
animation-delay: 1.2s;
}