mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-01-04 04:11:05 -05:00
17 lines
364 B
SCSS
17 lines
364 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 (prefers-reduced-motion: reduce) {
|
|
transition: none;
|
|
}
|
|
}
|
|
}
|