This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
forked from prtksxna/wmf-cu-prototype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loading.css
75 lines (75 loc) · 1.48 KB
/
loading.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
.loading-animation {
white-space: nowrap;
text-align: center;
margin-top: 50px;
}
.loading-animation .bounce,
.loading-animation:before,
.loading-animation:after {
content: '';
background-color: #72777d;
display: inline-block;
width: 1em;
height: 1em;
border-radius: 100%;
-webkit-animation: bounce-delay 1600ms infinite ease-in-out both;
animation: bounce-delay 1600ms infinite ease-in-out both;
-webkit-animation-delay: -160ms;
animation-delay: -160ms;
}
.loading-animation:before {
margin-right: 0.25em;
-webkit-animation-delay: -330ms;
animation-delay: -330ms;
}
.loading-animation:after {
margin-left: 0.25em;
-webkit-animation-delay: 0ms;
animation-delay: 0ms;
}
.loading-animation--small .bounce,
.loading-animation--small:before,
.loading-animation--small:after {
width: 0.7518797em;
height: 0.7518797em;
}
.loading-animation--inverted .bounce,
.loading-animation--inverted:before,
.loading-animation--inverted:after {
background-color: #c8ccd1;
}
@-webkit-keyframes bounce-delay {
0%,
50%,
100% {
-webkit-transform: scale(0.625);
}
20% {
opacity: 0.87;
-webkit-transform: scale(1);
}
}
@-moz-keyframes bounce-delay {
0%,
50%,
100% {
-moz-transform: scale(0.625);
}
20% {
opacity: 0.87;
-moz-transform: scale(1);
}
}
@keyframes bounce-delay {
0%,
50%,
100% {
-ms-transform: scale(0.625);
transform: scale(0.625);
}
20% {
opacity: 0.87;
-ms-transform: scale(1);
transform: scale(1);
}
}