Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
responsive image complex example
<img src="IMG_4880-1280.jpg"
srcset="IMG_4880-0240.jpg 240w,
IMG_4880-0320.jpg 320w,
IMG_4880-0480.jpg 480w,
IMG_4880-0640.jpg 640w,
IMG_4880-0800.jpg 800w,
IMG_4880-0960.jpg 960w,
IMG_4880-1280.jpg 1280w,
IMG_4880-1600.jpg 1600w,
IMG_4880-1920.jpg 1920w,
IMG_4880-2400.jpg 2400w"
sizes="(max-width: 767px) 100vw,
(max-width: 991px) 720px,
(max-width: 1199px) 940px,
1140px" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.