Enable animation correctly and randomly

This commit is contained in:
2024-01-07 16:53:53 +01:00
parent 314261bba5
commit f63e1f951f
3 changed files with 34 additions and 8 deletions

View File

@@ -79,7 +79,10 @@ h1 {
position: absolute;
z-index: 0;
opacity: 1;
transition: opacity 2.5s ease-in-out;
&.animated {
transition: opacity 2.5s ease-in-out;
}
&.hidden {
opacity: 0;