From c9b606ed26c8ce816336203eb6a03823ad96b054 Mon Sep 17 00:00:00 2001 From: lolabird Date: Sat, 11 Nov 2023 21:53:24 -0700 Subject: [PATCH] Create gradient background --- style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index c0807ce..4713af9 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,9 @@ +html { + height: 100%; +} body{ - background-color: #333; + background-image: linear-gradient(160deg, #a50071, #4b588c, #5fa66a, #017070); + background-attachment: fixed; color: #eee; text-align: center; } @@ -29,6 +33,7 @@ body{ flex-direction: row; /* Switch to a row layout when wrapping occurs */ align-items: flex-end; justify-content: center; + flex-wrap: wrap; } }