MicroFrameWork/resources/admin_theme/scss/bootstrap/mixins/_transition.scss
2024-08-29 16:18:49 +03:00

17 lines
364 B
SCSS
Executable File

// 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;
}
}
}