blob: c0f2bce8ee9c8504af9ca2a2cf0554987e59399a (
plain)
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
|
.loader-path {
fill: none;
stroke: black;
stroke-width: 3px;
stroke-linecap: round;
stroke-dasharray: 10, 10;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
.circular-loader {
animation: rotate 2s linear infinite;
}
@keyframes animate-stroke {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -35;
}
100% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -124;
}
}
.loader-path {
animation: animate-stroke 1.5s ease-in-out infinite;
}
|