1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

Revert "Placeholder for transitions reset to prevent code duplication #29862"

This reverts commit cd7e5d1111.

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
This commit is contained in:
XhmikosR
2020-02-15 13:41:33 +02:00
committed by GitHub
parent daf0c438f1
commit 8d791f2800
5 changed files with 2 additions and 42 deletions

View File

@@ -9,19 +9,8 @@
}
@if $enable-prefers-reduced-motion-media-query {
$isolate: false;
@each $selector in $pseudo-vendor-prefixes {
@if str-index(quote(#{&}), $selector) {
$isolate: true;
}
}
@if $isolate {
@media (prefers-reduced-motion: reduce) {
transition: none;
}
} @else {
@extend %no-transition;
@media (prefers-reduced-motion: reduce) {
transition: none;
}
}
}