From 16facd3750880f8ca2124794b4f1a5a7d756f84f Mon Sep 17 00:00:00 2001 From: "Min-Jae, Lee" <lee.min.jae.96@gmail.com> Date: Tue, 22 Jun 2021 01:57:16 +0900 Subject: [PATCH] resize canvas to make space for extra information --- index.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 3a05f2d..b95e38a 100644 --- a/index.html +++ b/index.html @@ -4,14 +4,10 @@ <meta charset="utf-8"> <title>WebGL Tutorial</title> <style> -html,body { - height: 100%; - margin: 0; - overflow: hidden; -} canvas#view { + display: block; width: 100%; - height: 100%; + height: 25em; background: radial-gradient(gray, transparent); } </style> -- GitLab