Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/bootstrap/mixins/_transition.scss')
-rwxr-xr-xassets/scss/bootstrap/mixins/_transition.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/scss/bootstrap/mixins/_transition.scss b/assets/scss/bootstrap/mixins/_transition.scss
index 7e33dee..8ce35a6 100755
--- a/assets/scss/bootstrap/mixins/_transition.scss
+++ b/assets/scss/bootstrap/mixins/_transition.scss
@@ -1,3 +1,4 @@
+// stylelint-disable property-blacklist
@mixin transition($transition...) {
@if $enable-transitions {
@if length($transition) == 0 {
@@ -6,4 +7,10 @@
transition: $transition;
}
}
+
+ @if $enable-prefers-reduced-motion-media-query {
+ @media (prefers-reduced-motion: reduce) {
+ transition: none;
+ }
+ }
}