From 8861a3e72f28f1757954c7f20ebeb469980f573a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 28 Aug 2023 12:26:27 +0300 Subject: [WGL/P] Changed message styling when there is no webgl context or javascript --- Year 2/Computer Graphics with WebGL/Project/Project.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Year 2/Computer Graphics with WebGL/Project/Project.html') diff --git a/Year 2/Computer Graphics with WebGL/Project/Project.html b/Year 2/Computer Graphics with WebGL/Project/Project.html index 970e805..a74b065 100644 --- a/Year 2/Computer Graphics with WebGL/Project/Project.html +++ b/Year 2/Computer Graphics with WebGL/Project/Project.html @@ -23,6 +23,9 @@ canvas { height: 100vh; /* cursor: none; */ } +#noscript, #picasso { + background-color: red; +} .indent { padding-left: 1em; @@ -36,7 +39,7 @@ canvas { h2 { border-bottom: 2px solid gray; } -body > div { +body > div, #noscript { position: absolute; left: 0; top: 0; @@ -171,7 +174,9 @@ body > div { - + We need a canvas, but it doesn't exist! + +