_transition.scss 274 Bytes
Newer Older
roshka committed
1 2 3 4 5 6 7 8 9 10 11 12 13
@mixin transition($transition...) {
  @if $enable-transitions {
    @if length($transition) == 0 {
      transition: $transition-base;
    } @else {
      transition: $transition;
    }
  }

  @media screen and (prefers-reduced-motion: reduce) {
    transition: none;
  }
}