![]() ![]() Skip directly to the code samples or prefers-reduced-motion demo if you wish. ![]() To explain who this media feature is for, and how it’s intended to work, we’ll cover some background. Web designers and developers can use this feature to serve alternate animations that avoid motion sickness triggers experienced by some site visitors. The feature can be used in a CSS block or through the window.matchMedia() interface in JavaScript. WebKit now supports the prefers-reduced-motion media feature, part of CSS Media Queries Level 5, User Preferences. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |