diff options
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; |