html image for retina code example
Example: html images @2x
<img
srcset="
/assets/img.jpg 4x,
/assets/img.jpg 3x,
/assets/img.jpg 2x,
/assets/img.jpg 1x,
"
src="/assets/img.jpg"
>
<img
srcset="
/assets/img.jpg 4x,
/assets/img.jpg 3x,
/assets/img.jpg 2x,
/assets/img.jpg 1x,
"
src="/assets/img.jpg"
>