-
Notifications
You must be signed in to change notification settings - Fork 18
/
loading.css
60 lines (49 loc) · 886 Bytes
/
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
.loader,
.loader:before,
.loader:after {
border-radius: 50%;
}
.loader {
position: relative;
width: 10em;
height: 10em;
margin: 55px auto;
transform: translateZ(0);
text-indent: -99999em;
color: #ff9d00;
box-shadow: inset 0 0 0 1em;
font-size: 11px;
}
.loader:before,
.loader:after {
position: absolute;
content: '';
}
.loader:before {
top: -0.1em;
left: -0.1em;
width: 5.2em;
height: 10.2em;
transform-origin: 5.2em 5.1em;
animation: load2 2s infinite ease 1.5s;
border-radius: 10.2em 0 0 10.2em;
background: #ffffff;
}
.loader:after {
top: -0.1em;
left: 5.1em;
width: 5.2em;
height: 10.2em;
transform-origin: 0px 5.1em;
animation: load2 2s infinite ease;
border-radius: 0 10.2em 10.2em 0;
background: #ffffff;
}
@keyframes load2 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}