-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
75 lines (75 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Vite App</title>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<link rel="icon" href="/favicon.ico">
</head>
<body>
<div id="app">
<style>
html, body, #app{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#app {
background: #F5F5F5;
position: relative;
}
@keyframes ball-scale-multiple {
0% {
transform: scale(0);
opacity: 0;
}
5% {
opacity: 1;
}
100% {
transform: scale(1);
opacity: 0;
}
}
.loader {
position: absolute;
inset-block-start: 50%;
inset-inline-start: 50%;
transform: translate(-50%, -50%);
}
.ball-scale-multiple {
position: relative;
}
.ball-scale-multiple > div {
position: absolute;
inset-block-start: -30px;
inset-inline-start: -30px;
width: 60px;
height: 60px;
opacity: 0;
border-radius: 50%;
background-color: #1677FF;
animation: ball-scale-multiple 1s 0s linear infinite;
}
.ball-scale-multiple > div:nth-child(2) {
animation-delay: -0.4s;
}
.ball-scale-multiple > div:nth-child(3) {
animation-delay: -0.2s;
}
</style>
<div class="loader">
<div class="ball-scale-multiple">
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>