Created
January 15, 2016 20:52
-
-
Save johhansantana/b47cbf924b146721496e to your computer and use it in GitHub Desktop.
delay css ng-if
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
.slide-up{ | |
position:relative; | |
--webkit-transition: 0.5s ease-in-out all; | |
-moz-transition: 0.5s ease-in-out all; | |
-o-transition: 0.5s ease-in-out all; | |
transition: 0.5s ease-in-out all; | |
} | |
.slide-up.ng-enter{ | |
--webkit-transition-delay: 0.5s; | |
-moz-transition-delay: 0.5s; | |
-o-transition-delay: 0.5s; | |
transition-delay: 0.5s; | |
opacity:0; | |
bottom:-100px; | |
} | |
.slide-up.ng-enter.ng-enter-active{ | |
opacity:1; | |
bottom:0; | |
} | |
.slide-up.ng-leave{ | |
opacity:1; | |
bottom:0; | |
} | |
.slide-up.ng-leave.ng-leave-active{ | |
opacity:0; | |
bottom:-100px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment