diff options
author | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2024-12-27 18:54:49 +0100 |
---|---|---|
committer | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2024-12-27 18:54:49 +0100 |
commit | 9656dbab74005a0814459037b4e79285586c0e27 (patch) | |
tree | 81f2e547c57d7858b8eccaedccf3461ac2c5bf2f /style.css | |
parent | dd89667fa2e209c8eb0efca61e69359122c33983 (diff) |
better css
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -2,6 +2,13 @@ body { margin: 0; background-color: grey; } +#spawn { + position: relative; + top: 0; + left: 0; + width: 0; + height: 0; } + img { position: absolute; top: 0; @@ -10,17 +17,6 @@ img { .pixelated { image-rendering: pixelated; } -.background { - width: 100%; - height: 100%; } - -#spawn { - position: relative; - top: 0; - left: 0; - width: 0; - height: 0; } - #screen { display: block; overflow: hidden; |