roojs-all.js
[roojs1] / scss / bootstrap / mixins / _transition.scss
1 // stylelint-disable property-blacklist
2 @mixin transition($transition...) {
3   @if $enable-transitions {
4     @if length($transition) == 0 {
5       transition: $transition-base;
6     } @else {
7       transition: $transition;
8     }
9   }
10
11   @if $enable-prefers-reduced-motion-media-query {
12     @media screen and (prefers-reduced-motion: reduce) {
13       transition: none;
14     }
15   }
16 }