component-animations.less 306 B

12345678910111213141516171819202122
  1. //
  2. // Component animations
  3. // --------------------------------------------------
  4. .fade {
  5. opacity: 0;
  6. .transition(opacity .15s linear);
  7. &.in {
  8. opacity: 1;
  9. }
  10. }
  11. .collapse {
  12. position: relative;
  13. height: 0;
  14. overflow: hidden;
  15. .transition(height .35s ease);
  16. &.in {
  17. height: auto;
  18. }
  19. }