Skip to content

Instantly share code, notes, and snippets.

@inh3
Created April 29, 2015 21:25
Show Gist options
  • Save inh3/21264df2b53dd0415fbe to your computer and use it in GitHub Desktop.
Save inh3/21264df2b53dd0415fbe to your computer and use it in GitHub Desktop.
Angular.js Animation
.animated-class.ng-hide-add.ng-hide-add-active,
.animated-class.ng-hide-remove.ng-hide-remove-active {
transition: height 1s linear;
-webkit-transition: height 1s linear;
-moz-transition: height 1s linear;
-o-transition: height 1s linear;
overflow: hidden;
}
.animated-class.ng-hide {
height: 0px;
}
.animated-class {
height: 200px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment