Reducing motion with the picture element
Here’s a clever tiny lesson from Dave and Brad: you can use prefers-reduced-motion
in the media
attribute of the source
element inside picture
.
Here’s a clever tiny lesson from Dave and Brad: you can use prefers-reduced-motion
in the media
attribute of the source
element inside picture
.
At Clearleft, we’re always saying “Everything is a tiny lesson!”, so I love, love, love this bit of Manuel’s website where notes down short code snippets of little things he learns.