UNPKG

274 BSCSSView Raw
1@mixin transition($transition...) {
2 @if $enable-transitions {
3 @if length($transition) == 0 {
4 transition: $transition-base;
5 } @else {
6 transition: $transition;
7 }
8 }
9
10 @media screen and (prefers-reduced-motion: reduce) {
11 transition: none;
12 }
13}