Responsive Images Done Right: A Guide To And srcset
Smashing Mag followed up their on Picturefill 2.0 (see articles) with this one from Eric Portis all about how we can use the upcoming picture element and srcset to cover off each use case for responsive images.
What a browser does know at all times is the environment it’s rendering in: the size of the viewport, the resolution of the user’s screen, that sort of thing. We use this information when we use media queries, which tailor our layouts to fit particular browsing environments.
An excerpt from Responsive Images Done Right: A Guide To And srcset