summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2024-02-15 14:52:44 +0200
committerMartial Simon <msimon_fr@hotmail.com>2024-02-15 14:52:44 +0200
commitc46a491374a9bcf0d88b24b8ce4cf30a996b25ce (patch)
treef29aa8b84f69bc91f01571af6d77834f0db4a294 /style.css
parentd1aca3c6fc2945b568e87e86b6025c78dbf65bd3 (diff)
feat: handle resize event
Diffstat (limited to 'style.css')
-rw-r--r--style.css12
1 files changed, 12 insertions, 0 deletions
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