From 231c5500057f227ee8bd31e37f47add72f099f20 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Thu, 26 Sep 2024 14:28:07 -0500 Subject: [PATCH] Final attempt --- static/root.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/static/root.css b/static/root.css index 6f69aee..7ce339c 100644 --- a/static/root.css +++ b/static/root.css @@ -37,7 +37,9 @@ body { } .animatedTitle { - animation: mainText 2s linear; + animation: mainText 1s cubic-bezier(0.075, 0.82, 0.165, 1); + animation-delay: 1s; + animation-fill-mode: both; margin: auto; max-width: 75%; padding-top: 30px; @@ -45,7 +47,7 @@ body { } .animatedMain { - animation: fadeDelay 1s linear; + animation: fadeDelay 1s cubic-bezier(0.075, 0.82, 0.165, 1); animation-delay: 1.25s; animation-fill-mode: both; } @@ -116,12 +118,12 @@ img:not(.project-inner > div > img):not(.activity>img) { } @keyframes mainText { - 0% { + /* 0% { transform: translateY(calc(50vh - 6rem)) scale(1.5); opacity: 0; - } + } */ - 50% { + 0% { opacity: 1; transform: translateY(calc(50vh - 6rem)) scale(1.25); }