-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
47 lines (46 loc) · 826 Bytes
/
Copy pathstyle.css
File metadata and controls
47 lines (46 loc) · 826 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
40
41
42
43
44
45
46
47
/* Demo */
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #1976D2;
}
/* Animation */
@-webkit-keyframes rotate {
to {
transform: rotate(360deg);
}
}
@keyframes rotate {
to {
transform: rotate(360deg);
}
}
/* Variables */
/* Loading Icon */
.loading {
width: 100px;
height: 100px;
}
.loading__ring {
color: #fff;
position: absolute;
width: 100px;
height: 100px;
}
.loading__ring:first-child {
transform: skew(30deg, 20deg);
}
.loading__ring:last-child {
transform: skew(-30deg, -20deg) scale(-1, 1);
}
.loading__ring:last-child svg {
-webkit-animation-delay: -0.5s;
animation-delay: -0.5s;
}
.loading__ring svg {
-webkit-animation: rotate 1s linear infinite;
animation: rotate 1s linear infinite;
fill: #fff;
}