rfid/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_transition.scss

17 lines
364 B
SCSS
Raw Normal View History

2021-10-01 12:32:43 +00:00
// stylelint-disable property-blacklist
@mixin transition($transition...) {
@if $enable-transitions {
@if length($transition) == 0 {
transition: $transition-base;
} @else {
transition: $transition;
}
}
@if $enable-prefers-reduced-motion-media-query {
@media (prefers-reduced-motion: reduce) {
transition: none;
}
}
}