-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
115 lines (115 loc) · 2.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>QQ Face</title>
</head>
<body>
<div id="app">
<div
title="Now Loading..."
style="
display: flex;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
font-size: 4rem;
"
>
<span class="loader"></span>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #1b1b1f;
}
.loader {
position: relative;
width: 78px;
height: 78px;
border-radius: 50%;
box-sizing: border-box;
background: #fff;
border: 8px solid #5546a3;
overflow: hidden;
box-sizing: border-box;
}
.loader::after {
content: '';
position: absolute;
left: 0;
top: -50%;
width: 100%;
height: 100%;
background: #5546a3;
z-index: 5;
border-bottom: 8px solid #131a1d;
box-sizing: border-box;
animation: eyeShade 3s infinite;
}
.loader::before {
content: '';
position: absolute;
left: 20px;
bottom: 15px;
width: 32px;
z-index: 2;
height: 32px;
background: #111;
border-radius: 50%;
animation: eyeMove 3s infinite;
}
@keyframes eyeShade {
0% {
transform: translateY(0);
}
20% {
transform: translateY(5px);
}
40%,
50% {
transform: translateY(-5px);
}
60% {
transform: translateY(-8px);
}
75% {
transform: translateY(5px);
}
100% {
transform: translateY(10px);
}
}
@keyframes eyeMove {
0% {
transform: translate(0, 0);
}
20% {
transform: translate(0px, 5px);
}
40%,
50% {
transform: translate(0px, -5px);
}
60% {
transform: translate(-10px, -5px);
}
75% {
transform: translate(-20px, 5px);
}
100% {
transform: translate(0, 10px);
}
}
</style>
</div>
</div>
<script type="module" src="docs/main.ts"></script>
</body>
</html>