Repository navigation
Expand file tree
/
Copy pathloading.css
More file actions
101 lines (88 loc) · 1.6 KB
/
Copy pathloading.css
File metadata and controls
101 lines (88 loc) · 1.6 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.loader {
position: absolute;
bottom:0;
top:0;
left: 0;
right: 0;
margin:0 auto;
width:100%;
height:100%;
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
display: none;
}
.loader:before {
}
.circular_div {
width:14.26rem;
height:14.26rem;
background:rgba(0,0,0,0.6);
border-radius:0.56rem;
display: flex;
justify-content: center;
}
.circular {
animation: rotate 2s linear infinite;
height: 4rem;
transform-origin: center center;
width: 4rem;
margin: auto;
bottom:0;
}
.path {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
stroke-linecap: round;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -35px;
}
100% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -124px;
}
}
@keyframes color {
100%, 0% {
stroke: white;
}
40% {
stroke: white;
}
66% {
stroke: white;
}
80%, 90% {
stroke: white;
}
}
.mini_circular_div {
width: 4rem;
height: 4rem;
background:rgba(0,0,0,0.6);
border-radius:0.56rem;
display: flex;
justify-content: center;
}
.mini_circular {
animation: rotate 2s linear infinite;
height: 2rem;
transform-origin: center center;
width: 2rem;
margin: auto;
bottom:0;
}