-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (38 loc) · 1.08 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
<!doctype html>
<html lang="en">
<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>Multiplayer prototype</title>
<style>
.debug-btn {
position: absolute;
top: 10px;
right: 10px;
padding: 8px 16px;
color: white;
background: hsl(230, 100%, 50%);
border-radius: 4px;
font-weight: 600;
border: unset;
cursor: pointer;
transition-property: color,
background-color,
border-color,
text-decoration-color,
fill,
stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
&:hover {
background: hsl(230, 70%, 50%);
}
}
</style>
</head>
<body>
<canvas id="game"></canvas>
<script type="module" src="client.js"></script>
</body>
</html>