-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (73 loc) · 1.83 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.2/css/all.min.css"
rel="stylesheet" />
<link rel="icon" href="img/car.svg" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/nprogress.css " />
<title>音乐小屋</title>
</head>
<body>
<div id="app">
<div class="loadingBox">
<div class="loading"></div>
<div class="">loading...</div>
</div>
</div>
<script defer type="module" src="/src/main.ts"></script>
<script src="https://unpkg.com/[email protected]/nprogress.js"></script>
<script
src="//unpkg.byted-static.com/xgplayer/2.31.2/browser/index.js"
type="text/javascript"></script>
</body>
<style>
.loadingBox {
position: absolute;
display: flex;
flex-direction: column;
width: 97vw;
height: 97vh;
align-items: center;
justify-content: center;
}
.loading {
display: block;
position: relative;
width: 6px;
height: 10px;
animation: rectangle infinite 1s ease-in-out -0.2s;
background-color: #22c55e;
}
.loading:before,
.loading:after {
position: absolute;
width: 6px;
height: 10px;
content: '';
background-color: #22c55e;
}
.loading:before {
left: -14px;
animation: rectangle infinite 1s ease-in-out -0.4s;
}
.loading:after {
right: -14px;
animation: rectangle infinite 1s ease-in-out;
}
@keyframes rectangle {
0%,
80%,
100% {
height: 20px;
box-shadow: 0 0 #22c55e;
}
40% {
height: 30px;
box-shadow: 0 -20px #22c55e;
}
}
</style>
</html>