-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
186 lines (163 loc) · 3.8 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>%VITE_GLOB_APP_TITLE%</title>
</head>
<body>
<div id="root">
<style>
html {
width: 100%;
height: 100%;
}
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
background-color: #111;
}
#root {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes headAnim {
0% {
top: 0px;
}
50% {
top: 10px;
}
100% {
top: 0px;
}
}
@keyframes bodyAnim {
0% {
top: -5px;
}
50% {
top: 10px;
}
100% {
top: -5px;
}
}
@keyframes fontAnim {
0% {
width: 7ch;
}
25% {
width: 8ch;
}
50% {
width: 9ch;
}
75% {
width: 10ch;
}
100% {
width: 11ch;
}
}
.eye {
width: 20px;
height: 8px;
background-color: rgba(240, 220, 220, 1);
border-radius: 0px 0px 20px 20px;
position: relative;
left: 10px;
top: 40px;
box-shadow: 40px 0px 0px 0px rgba(240, 220, 220, 1);
}
.head {
backface-visibility: hidden;
position: relative;
margin: -250px auto;
width: 80px;
height: 80px;
background-color: #111;
border-radius: 50px;
box-shadow: inset -4px 2px 0px 0px #fff;
animation: headAnim 1.5s infinite alternate;
animation-timing-function: ease-out;
}
.body {
position: relative;
margin: 90px auto;
width: 140px;
height: 120px;
background-color: #111;
border-radius: 50px/25px;
box-shadow: inset -5px 2px 0px 0px #fff;
animation: bodyAnim 1.5s infinite alternate;
animation-timing-function: ease-out;
}
.circ {
backface-visibility: hidden;
/* margin: 60px auto; */
width: 180px;
height: 180px;
background-color: #111;
border-radius: 0px 0px 50px 50px;
position: relative;
z-index: -1;
/* left: 0%;
top: 20%; */
overflow: hidden;
}
.hands {
backface-visibility: hidden;
margin-top: 140px;
width: 120px;
height: 120px;
position: absolute;
background-color: #111;
border-radius: 20px;
box-shadow: -1px -4px 0px 0px #fff;
transform: rotate(45deg);
top: 75%;
left: 16%;
z-index: 1;
animation: bodyAnim 1.5s infinite alternate;
animation-timing-function: ease-out;
}
.load {
position: absolute;
width: 7ch;
height: 34px;
text-align: left;
line-height: 32px;
margin: -10px auto;
-webkit-font-smoothing: antialiased;
font-family: 'Julius Sans One', sans-serif;
font-size: 28px;
font-weight: 400;
color: #fff;
left: 2%;
top: 5%;
animation: fontAnim 0.75s infinite;
animation-timing-function: ease-out;
word-wrap: break-word;
display: block;
overflow: hidden;
}
</style>
<div class="circ">
<div class="load">Loading . . . </div>
<div class="hands"></div>
<div class="body"></div>
<div class="head">
<div class="eye"></div>
</div>
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>