-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (83 loc) · 1.6 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
*{
margin: 0;
padding: 0;
}
section {
position: relative;
width: 100vw;
height: 100vh;
background-color: #111;
display: flex;
flex-direction: column;
overflow: hidden;
}
section .row {
position: relative;
width: 100%;
top: -60%;
display: flex;
padding: 10px 0;
white-space: nowrap;
font-size: 64px;
transform: rotate(-30deg);
}
i {
color: rgba(0, 0, 0, 0.5);
transition: 1s;
padding: 0 0.5px;
user-select: none;
cursor: default;
}
i:hover {
transition: 0s;
color: #0f0;
text-shadow: 0 0 120px #0f0;
}
section .row div {
animation: animate1 80s linear infinite;
animation-delay: -80s;
}
section .row div:nth-child(2) {
animation: animate2 80s linear infinite;
animation-delay: -40s;
}
@keyframes animate1 {
0%{
transform: translateX(100%);
}
100%{
transform:translateX(-100%);
}
}
@keyframes animate2 {
0%{
transform: translateX(0%);
}
100%{
transform:translateX(-200%);
}
}
section .row:nth-child(even) div {
animation: animate3 80s linear infinite;
animation-delay: -80s;
}
section .row:nth-child(even) div:nth-child(2) {
animation: animate4 80s linear infinite;
animation-delay: -40s;
}
@keyframes animate3 {
0%{
transform: translateX(-100%);
}
100%{
transform:translateX(100%);
}
}
@keyframes animate4 {
0%{
transform: translateX(-200%);
}
100%{
transform:translateX(0%);
}
}