-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (74 loc) · 1.85 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
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>Vue3 + Vite + TS</title>
</head>
<body theme-mode="dark">
<div id="app">
<style>
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-size: 18px;
}
body {
background: #fff;
line-height: 1.6;
font-family: Roboto, sans-serif;
font-size: 1em;
}
.loader {
position: fixed;
left: 50%;
top: 50%;
border-radius: 5px;
width: 50px;
height: 10px;
background: #3498db;
transform: translate(-50%, -50%);
animation: load 1.8s ease-in-out infinite;
}
.loader::before,
.loader::after {
display: block;
position: absolute;
border-radius: 5px;
height: 10px;
content: '';
animation: load 1.8s ease-in-out infinite;
}
.loader::before {
left: 10px;
top: -20px;
width: 40px;
background: #ef4836;
}
.loader::after {
bottom: -20px;
width: 35px;
background: #f5ab35;
}
@keyframes load {
0% {
transform: translateX(40px);
}
50% {
transform: translateX(-30px);
}
100% {
transform: translateX(40px);
}
}
</style>
<div class="loader"></div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>