component-animations.less 269 B

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