From c73da911749ef1e8d38f9280054598f010af65e5 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sun, 22 Sep 2024 20:54:08 +0200 Subject: [PATCH] [call-me] - fix bg --- public/style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index 5b5921d..f94d2a0 100644 --- a/public/style.css +++ b/public/style.css @@ -16,11 +16,18 @@ html, body { top: 0; bottom: 0; + left: 0; + right: 0; + margin: 0; + padding: 0; width: 100%; height: 100%; - margin: auto; overflow: auto; - background: url('background.jpg') center/cover no-repeat; /* Consolidate background properties */ +} + +body { + background: url('background.jpg') center center/cover no-repeat; + background-attachment: fixed; /* Keeps the background in place during scroll */ } /* Session Time */