WordPress/wp-content/themes/twentytwentyone/assets
Peter Wilson fa364267d4 Twenty Twenty-One: Reverse logic for `prefers-reduced-motion` media query.
Reverse the logic of the `prefers-reduced-motion` to enable transitions based on `no-preference` rather than disable them based on the `reduce` preference. This removes the need to disable transitions with the `! important` tag and unintended interactions with plugins as a result.

Props gregoiresailland, sabernhardt, ryokuhi.
Fixes #54174.


Built from https://develop.svn.wordpress.org/trunk@52835


git-svn-id: http://core.svn.wordpress.org/trunk@52424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 05:21:03 +00:00
..
css Twenty Twenty-One: Reverse logic for `prefers-reduced-motion` media query. 2022-03-10 05:21:03 +00:00
images Bundled Themes: Sync Twenty Twenty-One with the latest changes from GitHub. 2020-11-02 19:45:07 +00:00
js Twenty Twenty-One: Check if anchor exists before triggering in-page navigation. 2021-11-19 13:03:01 +00:00
sass Twenty Twenty-One: Reverse logic for `prefers-reduced-motion` media query. 2022-03-10 05:21:03 +00:00