4 ms·
These are fun decorations. Maybe there's a practical benefit. But please, if someone has set 'prefer reduced motion' then just don't animate anything.
by afandian 1y ago
These are fun decorations. Maybe there's a practical benefit. But please, if someone has set 'prefer reduced motion' then just don't animate anything.
- muspimerol 1y agoGood thing that's exactly what the article suggests!
- afandian 1y agoI wasn't clear from the article if it was entirely disabled. It says: > Like with all animations, we should make sure to respect user motion preferences. I'm out of date with modern CSS, so I wasn't sure from the syntax if the code snippet out-and-out prevented it, or just reduced it.
- pwdisswordfishy 1y agoWhy is it even something that websites have to explicitly design for? Browsers should just refuse to honor any animation declarations when the preference is enabled, with websites none the wiser.