-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (70 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>%VITE_TITLE%</title>
<script src="/anime.min.js"></script>
<style>
.pre-loading {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
height: 100vh;
}
.pre-loading .grid{
display: flex;
justify-content: center;
color: #fff;
}
.circle{
pointer-events: none;
position: relative;
width: 25px;
height: 25px;
line-height: 25px;
padding: 5px;
margin: 2px;
border-radius: 50%;
background-color: #1677ffbb;
font-size: 18px;
}
</style>
</head>
<body>
<div class="pre-loading">
<div class="grid">
<div class="circle el">q</div>
<div class="circle el">u</div>
<div class="circle el">i</div>
<div class="circle el">c</div>
<div class="circle el">k</div>
<div class="circle el">-</div>
<div class="circle el">b</div>
<div class="circle el">u</div>
<div class="circle el">i</div>
<div class="circle el">l</div>
<div class="circle el">d</div>
</div>
</div>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<script>
anime({
targets: '.pre-loading .el',
scale: [
{ value: .1, easing: 'easeOutSine', duration: 500 },
{ value: 1, easing: 'easeInOutQuad', duration: 1200 }
],
delay: anime.stagger(200, { grid: [14, 5], from: 'first' }),
loop:true
});
</script>
<script>
window.name = 'quick-build'
</script>
</html>