jobportal/static/scss/bootstrap/mixins/_transition.scss

14 lines
274 B
SCSS
Raw Normal View History

2020-12-21 19:53:38 +01:00
@mixin transition($transition...) {
@if $enable-transitions {
@if length($transition) == 0 {
transition: $transition-base;
} @else {
transition: $transition;
}
}
@media screen and (prefers-reduced-motion: reduce) {
transition: none;
}
}