Last active
September 25, 2017 13:08
-
-
Save topleague/e70643590a31b299049df2ce3cc181ac to your computer and use it in GitHub Desktop.
Styling for FadeUp Animation in Genesis
This file contains hidden or 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
/* Animate Site Container - Keyframes | |
------------------------------------------------------------ */ | |
.animate-site-container { | |
animation-delay: .7s; | |
animation-duration: 1s; | |
animation-fill-mode: both; | |
} | |
/* fadeIn | |
------------------------------------------- */ | |
@-webkit-keyframes fadeIn { | |
0% {opacity: 0;} | |
100% {opacity: 1;} | |
} | |
@keyframes fadeIn { | |
0% {opacity: 0;} | |
100% {opacity: 1;} | |
} | |
.fadeIn { | |
-webkit-animation-name: fadeIn; | |
animation-name: fadeIn; | |
} | |
/* fadeInUp | |
------------------------------------------- */ | |
@-webkit-keyframes fadeInUp { | |
0% {opacity: 0;-webkit-transform: translateY(20px);} | |
100% {opacity: 1;-webkit-transform: translateY(0);} | |
} | |
@keyframes fadeInUp { | |
0% {opacity: 0;transform: translateY(20px);} | |
100% {opacity: 1;transform: translateY(0);} | |
} | |
.fadeInUp { | |
-webkit-animation-name: fadeInUp; | |
animation-name: fadeInUp; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment