forked from cjunn/cnblog_theme_atum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shade.html
68 lines (66 loc) · 1.3 KB
/
shade.html
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
<!DOCTYPE html>
<html lang="en" >
<body>
<style type="text/css">
body {
margin:0;
padding:0;
overflow:hidden;
margin-top:100%
}
#shade_animal_wrap {
opacity:1;
margin:0;
padding:0;
display:flex;
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
align-items:center;
justify-content:center;
height:100vh;
width:100%;
background-color:#f2f2f2;
z-index:99999;
transition:all 1s ease 0s;
}
.lds-hourglass {
display: inline-block;
position: relative;
width: 64px;
height: 64px;
transform: translateY(-60px);
}
.lds-hourglass:after {
content: " ";
display: block;
border-radius: 50%;
width: 0;
height: 0;
margin: 6px;
box-sizing: border-box;
border: 60px solid #fff;
border-color: #ff8d00 transparent #ff3004 transparent;
animation: lds-hourglass 1.2s infinite;
}
@keyframes lds-hourglass {
0% {
transform: rotate(0);
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
50% {
transform: rotate(900deg);
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
100% {
transform: rotate(1800deg);
}
}
</style>
<div id="shade_animal_wrap">
<div class="lds-hourglass"></div>
</div>
</body>
</html>