WordPress/wp-content/themes/twentytwenty/assets
Sergey Biryukov 0f971e68ec Twenty Twenty: Replace Smooth Scroll JS implementation with `scroll-behavior` CSS property.
The JS implementation had multiple issues and did not work as expected.

This change includes an accessibility enhancement by using `prefers-reduced-motion: reduce` media query property for users that don't want motion effects. For further explanation on this media query, see MDN documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#Accessibility_concerns

Props audrasjb, melchoyce, joostdevalk, Anlino, mauteri, sergiomdgomes, littlebigthing, williampatton, netweb, andraganescu, joyously, acosmin, mukesh27, hareesh-pillai.
Fixes #48763, #48551, #48866.
Built from https://develop.svn.wordpress.org/trunk@46824


git-svn-id: http://core.svn.wordpress.org/trunk@46624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-07 11:05:01 +00:00
..
css Bundled Themes: Update Twenty Twenty. 2019-11-12 18:24:03 +00:00
fonts/inter Bundled Themes: Update Twenty Twenty. 2019-10-22 18:27:08 +00:00
images Bundled Themes: Update Twenty Twenty. 2019-10-22 18:27:08 +00:00
js Twenty Twenty: Replace Smooth Scroll JS implementation with `scroll-behavior` CSS property. 2019-12-07 11:05:01 +00:00