Skip to content

Instantly share code, notes, and snippets.

@ream88
Created March 21, 2014 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ream88/9693112 to your computer and use it in GitHub Desktop.
Save ream88/9693112 to your computer and use it in GitHub Desktop.
Angular Fade animation
.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