Skip to content

Commit

Permalink
Hide cards until animation starts
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Jan 31, 2024
1 parent a71c713 commit c40a472
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions flask_app/static/css/animations.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
InitClear calc(var(--duration, 1s) + var(--delay, 0s)) ease-out var(--delay, 0s) 1;
}

@keyframes Reveal {
0% {
height: 0;
opacity: 0;
}

100% {
height: auto;
opacity: 1;
}
}

@keyframes RecentLoadIn {
0% {
transform: rotate(-15deg) scale(0.5);
Expand All @@ -47,10 +59,13 @@
}

.recent-load-in {
height: 0;
opacity: 0;
animation:
InitClear var(--delay, 0s) step-end 0s 1,
RecentLoadIn var(--duration, 0.5s) ease-out calc(var(--delay, 0s));
}
InitClear var(--delay, 0s) step-end 0s,
RecentLoadIn var(--duration, 0.5s) ease-out calc(var(--delay, 0s)),
Reveal 0s step-start 0s forwards;
}

@keyframes LandingImageGlow {
0% {
Expand Down

0 comments on commit c40a472

Please sign in to comment.