Created
June 9, 2020 16:34
-
-
Save iddar/634c1057a0f65876366da14aae272be3 to your computer and use it in GitHub Desktop.
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 backInRight { | |
0% { | |
transform: translateX(400px) scale(1); | |
opacity: 0.7; | |
} | |
80% { | |
transform: translateX(0px) scale(1); | |
opacity: 0.7; | |
} | |
100% { | |
transform: scale(1); | |
opacity: 1; | |
} | |
} | |
.backInRight { | |
animation: backInRight 0.5s ease forwards; | |
} | |
@keyframes backOutRight { | |
0% { | |
transform: translateX(0px) scale(1); | |
opacity: 1; | |
} | |
80% { | |
transform: translateX(-400px) scale(.7); | |
opacity: 0.5; | |
} | |
100% { | |
transform: scale(.5); | |
opacity: 0; | |
} | |
} | |
.backOutRight { | |
animation: backOutRight 0.5s ease forwards; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment