From fdb7066aba2a891b225a7661b46d34b46b363c4b Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 27 Sep 2023 18:19:40 +0000 Subject: [PATCH] add fadein for mainpage --- html/landing.ejs | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/html/landing.ejs b/html/landing.ejs index a401a997..2fe2d5a1 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -361,9 +361,29 @@ line-height: 24px; z-index: 10; /* Was 2 */" } - + .fade-in-element { + opacity: 0; + transition: opacity 2.5s ease-in-out; /* Adjust the duration and easing as needed */ +} + +.fade-in-element.fade-in { + opacity: 1; +} + + + +