-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (39 loc) · 918 Bytes
/
index.html
File metadata and controls
39 lines (39 loc) · 918 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Spreadsheet</title>
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: lightgray;
}
.canvas-container {
width: 100%;
height: 100%;
padding: 40px; /* Added padding around canvas */
box-sizing: border-box;
}
canvas {
width: 100%;
height: 100%;
background: black;
}
</style>
</head>
<body>
<div class="canvas-container">
<canvas id="glcanvas" tabindex="1"></canvas>
</div>
<script src="https://not-fl3.github.io/miniquad-samples/mq_js_bundle.js"></script>
<script>
load("mini_spreadsheet.wasm");
</script>
</body>
</html>