Files
startbootstrap-sb-admin-2/vendor/bootstrap/scss/mixins/_transition.scss
David Miller af58467db4 updating to 4.0
New design with breaking changes, gulp 4, all dependencies updated, dev environment changed, and many more changes
2019-01-03 12:10:55 -07:00

17 lines
375 B
SCSS

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