From d3c102ea3fbb38c3f0e7108657603e301ffa16dc Mon Sep 17 00:00:00 2001 From: Alex Dean Date: Sat, 27 Jul 2024 12:59:57 -0500 Subject: [PATCH] Update CSS to center front-page div at top of page --- styles/index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/index.css b/styles/index.css index cd14342..434b0f6 100644 --- a/styles/index.css +++ b/styles/index.css @@ -2,9 +2,9 @@ .front-page { position: absolute; left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); + top: 5%; + -webkit-transform: translate(-50%, 0%); + transform: translate(-50%, 0%); line-height: 25px; display: flex; }