The holy grail of native use in browsers launched earlier this year, and I can't believe I missed it!
sizes='auto' means we can now drop lazy loading images into pages and the browser will choose the correct image size without any media rules being specified, or using any JS!
https://codepen.io/stephenjbell/pen/gOVpBvx
[#]webdev #webdesign
=> More informations about this toot | View the thread | More toots from stephenjbell@indieweb.social
=> View webdev tag | View webdesign tag This content has been proxied by September (ba2dc).Proxy Information
text/gemini