-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
68 lines (61 loc) · 1.11 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
section{
position: relative;
width: 100%;
height: 100vh;
background: #111;
display: flex;
overflow: hidden;
flex-direction: column;
}
i{
color: rgba(0, 0, 0, 0.5);
padding: 0 5px;
user-select: none;
cursor: default;
transition: 0.1s ease-in-out;
}
section .row{
display: flex;
position: relative;
top: -50%;
width: 100%;
padding: 10px 0;
white-space: nowrap;
font-size: 64px;
transform: rotate(-30deg);
}
i:hover{
color: rgb(0, 195, 255);
text-shadow: 0 0 120px rgb(0, 225, 255);
}
section .row div{
font-size: 1em;
white-space: nowrap;
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%);
}
}