-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
71 lines (68 loc) · 1.22 KB
/
index.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
@font-face {
src: url(./matrix-original.otf);
font-family: matrix;
}
#loader {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: #111;
padding: 20px;
overflow: hidden;
}
.thread {
width: 1px;
word-wrap:break-word;
word-break:break-all;
height: auto;
position:absolute;
top: -12200px;
line-height: 50px;
font-size: 20px;
color: #1ec503;
animation-name: matrix;
animation-duration: 10s;
animation-iteration-count: infinite;
animation-timing-function: linear;
font-family: matrix;
}
.thread:nth-child(2n) {
animation-duration: 15s;
animation-delay: 0.2s;
}
.thread:nth-child(3n) {
animation-duration: 14s;
animation-delay: 0.3s;
}
.thread:nth-child(5n) {
animation-duration: 11s;
animation-delay: 0.4s;
}
.thread:nth-child(7n) {
animation-duration: 12s;
animation-delay: 0.5s;
}
@keyframes matrix {
0% {
top: -12200px;
}
100% {
top: 1200px;
}
}
.fade {
animation: fade;
animation-duration: 0.5s;
animation-iteration-count: 1;
animation-fill-mode: forwards;
}
@keyframes fade {
0% {
opacity: 1;
}
100% {
opacity: 0.1;
}
}