-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (67 loc) · 1.38 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
body {
background-color: #000;
}
#effect {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#effect span {
font-family: verdana;
font-size: 30px;
display: inline-block;
animation: animate 1s linear infinite;
width: 50px;
height: 50px;
text-align: center;
line-height: 50px;
margin: 0 -2.5px;
}
/* #effect .sp {
visibility: hidden;
} */
@keyframes animate {
10% {
color: rgba(0, 255, 0, 1);
box-shadow: 0 2px 10px rgba(0, 255, 0, 1);
border: 2px solid rgba(0, 255, 0, 1);
}
30.3% {
color: rgb(255, 255, 255);
box-shadow: 0 2px 10px rgb(255, 255, 255);
border: 2px solid rgb(255, 255, 255);
}
90% {
color: rgb(255, 51, 0);
box-shadow: 0 2px 10px rgb(255, 51, 0);
border: 2px solid rgb(255, 51, 0);
}
}
#effect span:nth-child(1) {
animation-delay: 0s;
}
#effect span:nth-child(2) {
animation-delay: 0.1s;
}
#effect span:nth-child(3) {
animation-delay: 0.2s;
}
#effect span:nth-child(4) {
animation-delay: 0.3s;
}
#effect span:nth-child(5) {
animation-delay: 0.4s;
}
#effect span:nth-child(6) {
animation-delay: 0.5s;
}
#effect span:nth-child(7) {
animation-delay: 0.6s;
}
#effect span:nth-child(8) {
animation-delay: 0.7s;
}
#effect span:nth-child(9) {
animation-delay: 0.8s;
}