Created
August 13, 2023 08:12
-
-
Save GreenFlag31/72ec37611921a5139c48283899e47f45 to your computer and use it in GitHub Desktop.
modal animation styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes enter-slide-down { | |
from { | |
transform: translate(-50%, -60%); | |
} | |
to { | |
transform: translate(-50%, -50%); | |
} | |
} | |
@keyframes enter-scaling { | |
from { | |
transform: scale(0.3) translate(-50%, -50%); | |
} | |
to { | |
transform: scale(1) translate(-50%, -50%); | |
} | |
} | |
@keyframes fade-in { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} | |
} | |
@keyframes fade-out { | |
from { | |
opacity: 1; | |
} | |
to { | |
opacity: 0; | |
} | |
} | |
@keyframes overlay-leave { | |
from { | |
opacity: 1; | |
} | |
to { | |
opacity: 0; | |
z-index: 0; | |
position: static; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment