Last call for responses to our survey!
How do you use images on your website? What would make it easier?
Please complete our online questionnaire. It should only take a few minutes. We'll collate the responses then share the results.
Thanks for all the input so far.
simpl.info <img> with srcset using x values
A browser that supports srcset will request kittens_1x.jpg on a 1x display or kittens_2x.jpg on a 2x display.
The sizes example shows how to use srcset with w values and the sizes attribute. The art direction and file types examples show ways to use the picture element.
View source on GitHub