Last active
March 22, 2018 17:25
-
-
Save BFTrick/c138e0d1bb1921195d400b1aa1f43560 to your computer and use it in GitHub Desktop.
CSS Animations for the Pixel Perfect Webinar
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
.home .products .product .price { | |
opacity: 0; | |
} | |
.home .products .product:hover .price { | |
-webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; | |
animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; | |
} | |
/* ---------------------------------------------- | |
* Generated by Animista on 2018-3-22 10:24:52 | |
* w: http://animista.net, t: @cssanimista | |
* ---------------------------------------------- */ | |
/** | |
* ---------------------------------------- | |
* animation fade-in-bottom | |
* ---------------------------------------- | |
*/ | |
@-webkit-keyframes fade-in-bottom { | |
0% { | |
-webkit-transform: translateY(50px); | |
transform: translateY(50px); | |
opacity: 0; | |
} | |
100% { | |
-webkit-transform: translateY(0); | |
transform: translateY(0); | |
opacity: 1; | |
} | |
} | |
@keyframes fade-in-bottom { | |
0% { | |
-webkit-transform: translateY(50px); | |
transform: translateY(50px); | |
opacity: 0; | |
} | |
100% { | |
-webkit-transform: translateY(0); | |
transform: translateY(0); | |
opacity: 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment