Created
September 20, 2013 08:57
-
-
Save goette/6634935 to your computer and use it in GitHub Desktop.
Fading ng-show / ng-hide on div.animate-show (AngularJS 1.2)
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-show | |
| opacity: 1 | |
| &.ng-hide-add | |
| +transition(.5s linear all) | |
| opacity: 1 | |
| &.ng-hide-add-active | |
| opacity: 0 | |
| &.ng-hide-remove | |
| +transition(.5s linear all) | |
| display: block !important | |
| opacity: 0 | |
| &.ng-hide-remove-active | |
| opacity: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment