-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (29 loc) · 1.04 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
<!doctype html>
<html lang="en" style="background-color: black;">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/styles.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="module" src="/src/main.ts" defer></script>
<body>
<style>
@keyframes show {
0% {opacity: 1;}
50% {opacity: 1;}
100% {opacity: 0;}
}
.showerror{
animation: show 8s;
}
</style>
<error style="z-index: 9999; opacity: 0; bottom: 0px; position: absolute; border-radius: 5px; background-color: red; width: 25%; height: 15%; margin: 5px; padding: 0; flex-direction: column; display: flex;">
<t style="font-size: 20px; font-weight: 900; margin-left: 5px;"></t>
<o style="margin-left: 10px; line-height: 15px;"></o>
</error>
<game id="game">
<menu id="menu" style="position: absolute; width: 100%; height: 100%; margin: 0; padding: 0;">
</menu>
<gameplay id="gameplay"></gameplay>
</game>
</body>
</html>