Last active
October 27, 2015 16:02
-
-
Save SteveDesmond-ca/7b9b7d07a67ee272cf97 to your computer and use it in GitHub Desktop.
responsive image complex example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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