sizes="auto" landed in Firefox 150, making responsive images simpler and more reliable. Here's when you can use it, and how…
33 reposts182 likes
sizes="auto" landed in Firefox 150, making responsive images simpler and more reliable. Here's when you can use it, and how…
33 reposts182 likes
Finally got to use this for the first time today and it felt really nice to not have to populate nor worry about maintaining sizes separate from the CSS. Fantastic and useful feature which makes srcset even better for performance and data savings! Much love to the browser vendors for shipping this 💜
There are loads more attributes you can use to control how images are loaded and rendered. Here are the full docs developer.mozilla.org/en-US/docs/W...