-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathloader.css
54 lines (47 loc) · 1.1 KB
/
loader.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
.loader-container
{
position: absolute;
top: 0;
height: 0;
background-color: #192024;
width: 100vw;
height: 100vh;
z-index: 15;
transition: all 0.5s ease-in-out;
}
#svg {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#path0 {
stroke-dasharray: 1065px;
stroke-dashoffset: 1065px;
/* transition: all 0.5s cubic-bezier(0.63, 0.42, 0.79, 0.73); */
animation: path0-anim 3s infinite;
animation-timing-function: cubic-bezier(0.77, 0.2, 0.05, 1);
}
#path1 {
stroke-dasharray: 1065px;
stroke-dashoffset: 1065px;
/* transition: all 0.5s cubic-bezier(0.63, 0.42, 0.79, 0.73); */
animation: path1-anim 3s infinite;
animation-timing-function: cubic-bezier(0.77, 0.2, 0.05, 1);
}
#path2 {
stroke-dasharray: 1065px;
stroke-dashoffset: 1065px;
/* transition: all 0.5s cubic-bezier(0.63, 0.42, 0.79, 0.73); */
animation: path1-anim 3s infinite;
animation-timing-function: cubic-bezier(0.77, 0.2, 0.05, 1);
}
@keyframes path0-anim {
to {
stroke-dashoffset: 0;
}
}
@keyframes path1-anim {
to {
stroke-dashoffset: 0;
}