Back to Daily Feed 
The End of Responsive Image Complexity? `sizes="auto"` Nears
Must Read
Originally published on Frontend Masters Blog
View Original Article
Share this article:
Summary & Key Takeaways
- The
sizesattribute for<img>has historically been complex and hard to sync with CSS. sizes="auto"support is nearing readiness for prime time.- Jason Grigsby suggests going further by removing
srcsetentirely. - This would significantly simplify responsive image implementation for developers.
- The goal is to reduce the cognitive load and error surface for responsive images.
Our Commentary
Responsive images have been a persistent headache for web developers for years. The sizes attribute, in particular, has always felt like a hack. The idea that sizes="auto" is almost here, and that we might even be able to ditch srcset entirely, is incredibly exciting. This would be a massive win for developer experience and a long-overdue simplification of a core web platform feature. We're ready for this complexity to end.
View Original Article
Share this article: