-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathload.css
84 lines (84 loc) · 1.67 KB
/
load.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
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
.center-body {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
/****** center box
width: 300px;
height: 300px;
border: solid 1px #aaa;
******/
}
body {
background: #262626;
}
.loader-circle-9 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 70px;
height: 70px;
background: transparent;
border: 3px solid #3c3c3c;
border-radius: 50%;
text-align: center;
line-height: 70px;
font-family: sans-serif;
font-size: 12px;
color: #00eaff;
text-transform: uppercase;
box-shadow: 0 0 20px rgba(0, 0, 0, .5);
}
.loader-circle-9:before {
content: '';
position: absolute;
top: -3px;
left: -3px;
width: 100%;
height: 100%;
border: 3px solid transparent;
border-top: 3px solid #00eaff;
border-right: 3px solid #00eaff;
border-radius: 50%;
animation: animateC 2s linear infinite;
}
.loader-circle-9 span {
display: block;
position: absolute;
top: calc(50% - 2px);
left: 50%;
width: 50%;
height: 4px;
background: transparent;
transform-origin: left;
animation: animate 2s linear infinite;
}
.loader-circle-9 span:before {
content: '';
position: absolute;
width: 16px;
height: 16px;
border-radius: 50%;
background: #00eaff;
top: -6px;
right: -8px;
box-shadow: 0 0 20px #00eaff;
}
@keyframes animateC {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes animate {
0% {
transform: rotate(45deg);
}
100% {
transform: rotate(405deg);
}
}