add bootstrap
This commit is contained in:
13
style/bootstrap/mixins/_transition.scss
Normal file
13
style/bootstrap/mixins/_transition.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
@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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user