<p>You can define responsive images in the HTML by setting the <code>srcset</code> attribute on <code><img></code> like this: <code><img src="img.jpg" srcset="img@2x.jpg 2x, img@3x.jpg 3x"></code></p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.