Prevent the H1 animation from pushing down the contents on the first run

This commit is contained in:
litemotiv 2024-10-27 11:52:33 +01:00
parent f1c971e910
commit 258a8c1622
1 changed files with 2 additions and 2 deletions

View File

@ -78,8 +78,8 @@ h1 {
50% { opacity: 0; } 50% { opacity: 0; }
} }
@keyframes reveal { @keyframes reveal {
from { width: 2em; } /* Width of ::before */ from { max-width: 2em; } /* Width of ::before */
to { width: 100%; } to { max-width: 100%; }
} }
#fancyboi { #fancyboi {
overflow: hidden; overflow: hidden;