blob: a992390e12e7bd2dcb0a8a870016b2a63e285287 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!doctype html>
<html>
<head>
<meta charset='utf-8'/>
<title>webhogg</title>
</head>
<body style='margin: 0; width: 100%; height: 100%; posisiton: fixed; display: block;'>
<canvas id='c' style='width: 100%; height: 100%; position: fixed; display: block; overflow: hidden;'>
your browser is incompetent
</canvas>
<script>
let canvas = document.getElementById('c');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
</script>
<script src='pkg/main.js'></script>
</body>
</html>
|