-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
56 lines (55 loc) · 1.04 KB
/
styles.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
.loading-background {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 99;
cursor: progress;
}
.loading-background .loading-bar {
position: absolute;
left: 50%;
top: 50%;
width: 50px;
height: 50px;
transform: translate(-50%, -50%);
}
.loading-background .loading-bar .loading-circle-1,
.loading-background .loading-bar .loading-circle-2 {
content: " ";
width: 100%;
height: 100%;
border-radius: 50%;
background-color: #e74c3c;
opacity: 0.6;
position: absolute;
top: 0;
left: 0;
-webkit-animation: sk-bounce 2s infinite ease-in-out;
animation: sk-bounce 2s infinite ease-in-out;
}
.loading-background .loading-bar .loading-circle-2 {
-webkit-animation-delay: -1s;
animation-delay: -1s;
}
@-webkit-keyframes sk-bounce {
0%,
100% {
-webkit-transform: scale(0);
}
50% {
-webkit-transform: scale(1);
}
}
@keyframes sk-bounce {
0%,
100% {
transform: scale(0);
-webkit-transform: scale(0);
}
50% {
transform: scale(1);
-webkit-transform: scale(1);
}
}