-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindex.html
48 lines (46 loc) · 1.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>消消乐</title>
<style>
html,
body {
overflow: hidden !important;
height: 100% !important;
margin: 0;
padding: 0;
background-color: #fff;
position: fixed;
}
body::after {
content: "";
position: fixed;
z-index: 1000;
top: 50%;
left: 50%;
width: 70px;
height: 70px;
margin: -35px 0 0 -35px;
pointer-events: none;
border: 5px solid rgba(250, 204, 21, 0.5);
border-right-color: rgb(250, 204, 21);
border-radius: 50%;
transition: opacity 0.3s;
animation: rotateCircle 0.7s linear infinite forwards;
}
@keyframes rotateCircle {
to {
transform: rotate(360deg);
}
}
body.loaded::after {
opacity: 0;
}
</style>
</head>
<body>
<script src="./src/main.ts" type="module"></script>
</body>
</html>