From 91a6881ef366171de659c7e0dc7557674ebbe7c3 Mon Sep 17 00:00:00 2001 From: lolabird Date: Sun, 31 Dec 2023 18:59:03 -0700 Subject: [PATCH] Fix background image to page --- styles/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/styles/style.css b/styles/style.css index 0a8951d..48fd221 100644 --- a/styles/style.css +++ b/styles/style.css @@ -5,16 +5,17 @@ html { body { background-image: url("../images/paper-5985445_1920.jpg"); background-size: cover; + background-attachment: fixed; background-repeat: no-repeat; background-color: rgb(138, 138, 138); color: #fff; text-align: center; - height: 100vh; + min-height: 100vh; margin: 0; display: flex; flex-direction: column; font-family: "Purisa", cursive; - text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } header {