-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloading.css
More file actions
60 lines (54 loc) · 1.01 KB
/
Copy pathloading.css
File metadata and controls
60 lines (54 loc) · 1.01 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
/* ë¡œë”©ê´€ë ¨ */
.loading {
display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100;
background: white;
opacity: 0;
transition: 0.5s;
pointer-events: none;
}
.before-load .loading {
opacity: 1;
}
@keyframes loading-spin {
100% {
transform: rotate(360deg);
}
}
@keyframes loading-circle-ani {
0% {
stroke-dashoffset: 157;
}
75% {
stroke-dashoffset: -147;
}
100% {
stroke-dashoffset: -157;
}
}
.loading-circle {
width: 100px;
height: 100px;
animation: loading-spin 2s infinite;
}
.loading-circle img {
width: 100px;
height: 100px;
/* animation: loading-circle-ani 1s infinite; */
}
.loading-circle circle {
stroke: #171010;
stroke-width: 4;
/* getTotalLength()로 strokeì˜ ê¸¸ì´ë¥¼ 얻어올 수 ìžˆìŒ */
stroke-dasharray: 157, 157;
stroke-dashoffset: 0;
fill: transparent;
animation: loading-circle-ani 1s infinite;
}