-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (65 loc) · 2.28 KB
/
index.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
<!DOCTYPE html>
<html lang="en" class="mask">
<head>
<meta charset="utf-8">
<title>皮皮</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="author" content="Tang Hongkai">
<meta name="description" content="Tang's Blog,say something">
<meta name="keywords" content="Blog, Programing, Gaming">
<style>
#loader {
text-align: center;
position: fixed;
z-index: 3;
left: 0;
top: 0;
height: 100%;
width: 100%;
opacity: 0;
visibility: hidden;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
background-color: rgba(255,255,255,.95);
}
.mask #loader {
opacity: 1;
visibility: visible;
}
#loader svg {
display: inline-block;
width: 50px;
height: 50px;
vertical-align: middle;
opacity: 0;
visibility: hidden;
}
.mask #loader svg {
opacity: 1;
visibility: visible;
display: inline-block;
width: 50px;
height: 50px;
vertical-align: middle;
}
.mask #loader:after {
content: '';
display: inline-block;
height: 100%;
margin-top: -25px;
vertical-align: middle;
}
</style>
</head>
<body>
<div id="app"></div>
<div id="loader">
<svg class="icon" viewbox="0 0 432 432" width="432" height="432" fill="#3C4145">
<polygon class="st0" points="389.2,281.4 389.2,116 216,16 72.8,98.7 "/>
<polygon class="st0" points="42.8,150.6 42.8,316 216,416 359.2,333.3 "/>
<animatetransform attributetype="XML" attributename="transform" begin="0s" dur="2s" type="rotate" from="0" to="360" repeatcount="indefinite"/>
</svg>
</div>
<script src="/main.js"></script>
</body>
</html>