-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloading.css
More file actions
55 lines (53 loc) · 1.07 KB
/
Copy pathloading.css
File metadata and controls
55 lines (53 loc) · 1.07 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
.loader {
position: relative;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
background-color: #146678;
border-radius: 50%;
}
.loader:after {
content: '';
position: absolute;
border-radius: 50%;
top: 50%;
left: 50%;
border: 0px solid white;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-animation: loading 500ms ease-out forwards infinite;
animation: loading 500ms ease-out forwards infinite;
}
@-webkit-keyframes loading {
0% {
border: 0px solid white;
}
20% {
border: 8px solid white;
width: 0%;
height: 0%;
}
100% {
border: 8px solid white;
width: 100%;
height: 100%;
}
}
@keyframes loading {
0% {
border: 0px solid white;
}
20% {
border: 8px solid white;
width: 0%;
height: 0%;
}
100% {
border: 8px solid white;
width: 100%;
height: 100%;
}
}