mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Check prefers-reduced-motion variable before adding reduced motion media query for animated progress bars (#28530)
This commit is contained in:
committed by
XhmikosR
parent
60f31b32f8
commit
3ab0441667
+4
-2
@@ -36,8 +36,10 @@
|
|||||||
.progress-bar-animated {
|
.progress-bar-animated {
|
||||||
animation: progress-bar-stripes $progress-bar-animation-timing;
|
animation: progress-bar-stripes $progress-bar-animation-timing;
|
||||||
|
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@if $enable-prefers-reduced-motion-media-query {
|
||||||
animation: none;
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user