Created
March 21, 2014 18:46
-
-
Save ream88/9693112 to your computer and use it in GitHub Desktop.
Angular Fade animation
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
.fade { | |
@include transition(opacity 0.25s cubic-bezier(0.250, 0.460, 0.450, 0.940)); | |
&.ng-enter { | |
opacity: 0; | |
&.ng-enter-active { | |
opacity: 1; | |
} | |
} | |
&.ng-hide-add { | |
display: block !important; | |
opacity: 1; | |
&.ng-hide-add-active { | |
opacity: 0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment