From 5cab41dd9552890b4b72124fb277550d8206197c Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 15 Jun 2023 11:13:16 +0100 Subject: mouse input, etc --- index.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 735c68d..8682e4d 100644 --- a/index.html +++ b/index.html @@ -13,11 +13,17 @@ overflow: hidden; } - #canvas { + #page { width: 100vw; height: 100vh; } + #canvas, #ui-canvas { + position: absolute; + left: 0; + top: 0; + } + .error { color: red; } @@ -51,10 +57,13 @@ - - Your browser doesn't support <canvas>
- This page won't work for you. -
+
+ + Your browser doesn't support <canvas>
+ This page won't work for you. +
+ +

-- 
cgit v1.2.3