-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloader.css
More file actions
39 lines (35 loc) · 705 Bytes
/
loader.css
File metadata and controls
39 lines (35 loc) · 705 Bytes
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
/* CSS for animated bouncing loader. */
.loader {
display: flex;
justify-content: center;
align-items: center;
height: 400px;
}
/* Loader circles */
.loader > span {
background: rgb(0, 177, 0);
border-radius: 50%;
margin: 5rem 0.5rem;
animation: bouncingLoader 0.6s infinite alternate;
}
.loader > span:nth-child(2) {
animation-delay: 0.2s;
}
.loader > span:nth-child(3) {
animation-delay: 0.4s;
}
/* Define the animation called bouncingLoader. */
@keyframes bouncingLoader {
from {
width: 0.1rem;
height: 0.1rem;
opacity: 1;
transform: translate3d(0);
}
to {
width: 1rem;
height: 1rem;
opacity: 0.1;
transform: translate3d(0, -1rem, 0);
}
}