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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Rogers <me@mikerogers.io>2018-03-20 12:28:21 +0300
committerPatrick H. Lauke <redux@splintered.co.uk>2018-03-20 12:28:21 +0300
commit2306f62bf19bb0696a9455aaf2eea6b083d9fdae (patch)
treec4c78e05882e13b5eb932d18feeb609a1d638f64 /.stylelintrc
parentc53825d9029812f2218a8122716a76332b76e774 (diff)
Making use of `prefers-reduced-motion` media query (#25641)
* Making use of `prefers-reduced-motion` media query As discussed in #25249 - if a user (Who is using Safari / iOS) requests reduced motion in their system settings, we should avoid transitions. * Ignoring prefers reduced motion for CSS Linting * Updating copy clarifying the reduce motion functionality in accessibility.md
Diffstat (limited to '.stylelintrc')
-rw-r--r--.stylelintrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.stylelintrc b/.stylelintrc
index c9d67250e8..c65940be24 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -33,6 +33,9 @@
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"number-leading-zero": "never",
+ "media-feature-name-no-unknown": [true, {
+ "ignoreMediaFeatureNames": ["prefers-reduced-motion"]
+ }],
"order/properties-order": [
"position",
"top",