Menu

Post image 1
Post image 2
Post image 3
Post image 4
1 / 4
0

🦄 14 years of responsive image pain, fixed

DEV Community·Adam Marsden·about 1 month ago
#lUjleNIp
#browser#html#design#ai#sizes#auto
Reading 0:00
15s threshold

Hey again 👋 sizes="auto" for responsive images is boring in exactly the way I love. It’s the browser finally having enough context to delete a bit of work you used to have to do by hand. Plus some interesting ways to get more out of your design meetings. Enjoy 🦄 - Adam at Unicorn Club. Get Unicorn Club in your inbox. This week’s email edition includes Useful Extras and More Reads (missing from this public post). Subscribe: https://unicornclub.dev/ Sponsored by 20i Managed WordPress Hosting You'll Fall in Love With Upgrade to autoscaling WordPress hosting for always-on, always-fast performance, backed by award-winning support. See the difference and try us out for only $1. Try 20i now → Top 3 this week 👇 Let the browser pick the image size when it can. For lazy-loaded images, sizes="auto" lets the browser wait until it has layout information, then choose the right source from srcset .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More