From 3f03b0b13d4b065d6c871e0c42a5f1216a474bef Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Thu, 8 Feb 2024 17:43:23 -0600 Subject: [PATCH] Hide content before animation finishes --- static/style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/static/style.css b/static/style.css index 1a31320..d8d0906 100644 --- a/static/style.css +++ b/static/style.css @@ -17,6 +17,8 @@ body { background-color: black; overflow-x: hidden; + + animation: hideContent 2.5s; } main { @@ -97,4 +99,16 @@ hr { opacity: 1; transform: none; } +} + +@keyframes hideContent { + 0% { + overflow-y: hidden; + overflow-x: hidden; + } + + 100% { + overflow-y: hidden; + overflow-x: hidden; + } } \ No newline at end of file