-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloader_css.css
More file actions
64 lines (63 loc) · 1.26 KB
/
loader_css.css
File metadata and controls
64 lines (63 loc) · 1.26 KB
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
body{
background-color: #1f1f1f;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
width: 99%;
color: #fff;
position: absolute;
font-family: Gotham, "Helvetica Neue", Helvetica;
}
.loader{
display: flex;
justify-content: center;
}
.bar{
width: 4px;
height: 40px;
background-color: white;
margin-right: 4px;
animation: loader 1.5s infinite ease-in-out;
opacity: 0;
}
.loader .bar:nth-of-type(1){
animation-delay: 0.1s;
}
.loader .bar:nth-of-type(2){
animation-delay: 0.2s;
}
.loader .bar:nth-of-type(3){
animation-delay: 0.3s;
}
.loader .bar:nth-of-type(4){
animation-delay: 0.4s;
}
.loader .bar:nth-of-type(5){
animation-delay: 0.5s;
}
.loader .bar:nth-of-type(6){
animation-delay: 0.6s;
}
.loader .bar:nth-of-type(7){
animation-delay: 0.7s;
}
.loader .bar:nth-of-type(8){
animation-delay: 0.8s;
}
@keyframes loader{
0%{
background-color: white;
transform: scaleY(.1);
opacity: 1;
}
50%{
background-color: rgb(151, 151, 238);
transform: scaleY(1);
opacity: 1;
}
100%{
transform: scaleY(.1);
opacity: 1;
}
}