Last active
September 22, 2015 10:04
-
-
Save ravenlp/96a66df5dbc1b96afba7 to your computer and use it in GitHub Desktop.
Angular ng-hide fade in/out 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
.fadable { | |
transition: 0s linear all; | |
} | |
.fadable.ng-hide-remove { | |
opacity: 0; | |
display: block !important; | |
transition: 0.5s linear all; | |
} | |
.fadable.ng-hide-remove.ng-hide-remove-active { | |
opacity: .5; | |
} | |
.fadable.ng-hide-add { | |
opacity: .5; | |
display: block !important; | |
transition: 0.5s linear all; | |
} | |
.fadable.ng-hide-add.ng-hide-add-active { | |
opacity: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment