-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (56 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="./">
<title>Wordle Clone by Nick Leslie</title>
<style>
#loading-root {
display:flex;
justify-content:center;
align-items:center;
height: 100vh;
}
.loading-ripple {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading-ripple div {
position: absolute;
border: 4px solid #000;
opacity: 1;
border-radius: 50%;
animation: loading-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.loading-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes loading-ripple {
0% {
top: 40px;
left: 40px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0px;
left: 0px;
width: 80px;
height: 80px;
opacity: 0;
}
}
</style>
</head>
<body>
<div id="loading-root">
<div class="loading-ripple"><div></div><div></div></div>
</div>
<div id="root"></div>
<script type="module" src="./src/index.tsx"></script>
</body>
</html>