-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
84 lines (69 loc) · 1.31 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
*, *::after, *::before {
box-sizing: border-box;
}
html {
background: #000000;
width: 100%;
min-height: 100%;
display: grid;
align-content: center;
justify-content: center;
overflow: hidden;
}
.stack {
list-style: none;
padding: 0;
display: grid;
align-content: center;
grid-template-rows: 1fr;
grid-template-columns: 1fr;
}
.digit {
color: #ffffff;
font-family: 'Open Sans', sans-serif;
font-size: 70vh;
grid-row: 1;
grid-column: 1;
opacity: .1;
}
.stack .digit:nth-child(0) {
animation: cycle 3.3s 0s infinite;
}
.stack .digit:nth-child(1) {
animation: cycle 4s 0.4s infinite;
}
.stack .digit:nth-child(2) {
animation: cycle 4s 0.8s infinite;
}
.stack .digit:nth-child(3) {
animation: cycle 4s 1.2s infinite;
}
.stack .digit:nth-child(4) {
animation: cycle 4s 1.6s infinite;
}
.stack .digit:nth-child(5) {
animation: cycle 4s 2s infinite;
}
.stack .digit:nth-child(6) {
animation: cycle 4s 2.4s infinite;
}
.stack .digit:nth-child(7) {
animation: cycle 4s 2.8s infinite;
}
.stack .digit:nth-child(8) {
animation: cycle 4s 3.2s infinite;
}
.stack .digit:nth-child(9) {
animation: cycle 4s 3.6s infinite;
}
.stack .digit:nth-child(10) {
animation: cycle 4s 4s infinite;
}
@keyframes cycle {
0%, 25% {
opacity: 1;
}
25%, 100% {
opacity: 0.1;
}
}