From c46a491374a9bcf0d88b24b8ce4cf30a996b25ce Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Thu, 15 Feb 2024 14:52:44 +0200 Subject: feat: handle resize event --- style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'style.css') diff --git a/style.css b/style.css index f10a42e..8866db5 100644 --- a/style.css +++ b/style.css @@ -1,9 +1,21 @@ body { background: linear-gradient(60deg, skyblue, 70%, blue) no-repeat fixed; background-size: cover; + overflow: hidden; } canvas { background-color: aliceblue; border-radius: 20px; +} + +#instructions { + position: absolute; + left: 20px; + border: 3px dashed orange; + padding: 4px +} + +#instructions:hover { + display: none; } \ No newline at end of file -- cgit v1.2.3