NexusDashboard/app/static/bootstrap-4.2.1/scss/mixins/_transition.scss

17 lines
375 B
SCSS
Raw Normal View History

2022-01-16 18:22:00 +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 screen and (prefers-reduced-motion: reduce) {
transition: none;
}
}
}