From 258a8c16225bbc713e6cb71f1e1ea2847a4e3cf5 Mon Sep 17 00:00:00 2001 From: litemotiv Date: Sun, 27 Oct 2024 11:52:33 +0100 Subject: [PATCH] Prevent the H1 animation from pushing down the contents on the first run --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index e914fc5..87f0870 100644 --- a/style.css +++ b/style.css @@ -78,8 +78,8 @@ h1 { 50% { opacity: 0; } } @keyframes reveal { - from { width: 2em; } /* Width of ::before */ - to { width: 100%; } + from { max-width: 2em; } /* Width of ::before */ + to { max-width: 100%; } } #fancyboi { overflow: hidden;