From 2f9d366bbe764bc0b3218c1de2c6b73ff5711926 Mon Sep 17 00:00:00 2001 From: Sky Date: Sun, 23 Jul 2023 14:51:31 -0400 Subject: [PATCH] fix backgroud --- style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 6a701895..f1ba079e 100644 --- a/style.css +++ b/style.css @@ -104,10 +104,11 @@ a:hover { } body { - background: linear-gradient(45deg, rgba(36, 69, 128, 1) 0%, rgb(24, 17, 87) 33%, rgba(36, 69, 128, 1) 66%, rgb(24, 17, 87) 100%); + background: repeating-linear-gradient(45deg, rgba(36, 69, 128, 1) 0%, rgb(24, 17, 87) 33%, rgba(36, 69, 128, 1) 66%, rgb(24, 17, 87) 100%); background-size: 400% 400%; + background-attachment: fixed; animation: gradient 30s linear infinite; - height: 100%; + height: 100vh; } @keyframes gradient {