Skip to content

Instantly share code, notes, and snippets.

@goette
Created September 20, 2013 08:57
Show Gist options
  • Select an option

  • Save goette/6634935 to your computer and use it in GitHub Desktop.

Select an option

Save goette/6634935 to your computer and use it in GitHub Desktop.
Fading ng-show / ng-hide on div.animate-show (AngularJS 1.2)
.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