summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css7
1 files changed, 3 insertions, 4 deletions
diff --git a/style.css b/style.css
index 2fea6ab..03d4a56 100644
--- a/style.css
+++ b/style.css
@@ -3,8 +3,8 @@ body {
--piece-width: 50px;
--piece-height: 50px;
--image: url("");
- --view-width: 640px;
- --view-height: 480px;
+ --image-width: 640px;
+ --image-height: 480px;
margin: 0;
position: relative;
}
@@ -22,8 +22,7 @@ body {
width: var(--piece-width);
height: var(--piece-height);
background-image: var(--image);
- background-size: var(--view-width) var(--view-height);
- /* clip-path: path("M0 0 L40 0 L40 40 L0 40 Z"); */
+ background-size: var(--image-width) var(--image-height);
}
.debug-point {
position: absolute;