-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
61 lines (56 loc) · 1.12 KB
/
app.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
body {
transform: scale(0.7);
transform-origin: 0 0;
}
div {
box-sizing: border-box;
}
.wrapper {
width: 20px;
height: 20px;
position: relative;
background: white;
display: inline-block;
}
.pie {
width: 50%;
height: 100%;
transform-origin: 100% 50%;
position: absolute;
background: #80c;
border: 5px solid rgba(0,0,0,0.4);
}
.spinner {
border-radius: 100% 0 0 100% / 50% 0 0 50%;
z-index: 200;
border-right: none;
animation: rota 3s linear infinite;
}
.filler {
border-radius: 0 100% 100% 0 / 0 50% 50% 0;
z-index: 100;
border-left: none;
animation: opa 3s steps(1, end) infinite reverse;
left: 50%;
opactity: 0;
}
.wrapper .noanim{
animation: none;
}
.mask {
width: 50%;
height: 100%;
position: absolute;
z-index: 300;
opacity: 1;
background: inherit;
animation: opa 3s steps(1, end) infinite;
}
@keyframes rota {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes opa {
0% { opacity: 1; }
50%, 100% { opacity: 0; }
}