-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathCProgress.vue
64 lines (63 loc) · 1.26 KB
/
CProgress.vue
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
<template>
<div class="loading_container">
<div class="load-wrapp">
<div class="load-3">
<div class="line" />
<div class="line" />
<div class="line" />
</div>
</div>
</div>
</template>
<style scoped>
.loading_container {
padding: 5rem;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
z-index: 999;
top: 0;
left: 0;
overflow: hidden;
/* background: #7a7a7a59 10%; */
background: white;
}
.load-wrapp {
width: 100px;
height: 100px;
padding: 20px 20px 20px;
border-radius: 1.5rem;
text-align: center;
background-color: #d8d8d8;
}
.line {
display: inline-block;
width: 15px;
height: 15px;
border-radius: 15px;
background-color: #4b9cdb;
}
.load-3 .line:nth-last-child(1) {
animation: loadingC 0.6s 0.1s linear infinite;
}
.load-3 .line:nth-last-child(2) {
animation: loadingC 0.6s 0.2s linear infinite;
}
.load-3 .line:nth-last-child(3) {
animation: loadingC 0.6s 0.3s linear infinite;
}
@keyframes loadingC {
0% {
transform: translate(0, 0);
}
50% {
transform: translate(0, 15px);
}
100% {
transform: translate(0, 0);
}
}
</style>