Categories
Posts

Responsive Images

Jake Archibald on The anatomy of responsive images:

In order for the browser to pick the right image, it needs to know:

– URLs for the image at various sizes
– The decoded width of each of those image resources
– The width of the `<img>`

Picture‘s and img‘s oh my!