Responsive Images: If you’re just changing resolutions, use srcset.

If you’re implementing responsive images (different images in HTML for different situations) and all you are doing is switching between different versions of the same image (the vast majority of usage), all you need is the srcset attribute on the <img>. Gaze upon this easy syntax: <img src=”small.jpg” srcset=”medium.jpg 1000w, large.jpg 2000w” alt=”yah”> It’s not … Continue reading Responsive Images: If you’re just changing resolutions, use srcset.