Created
October 27, 2015 15:19
-
-
Save SteveDesmond-ca/9c5c9052de8251910f36 to your computer and use it in GitHub Desktop.
responsive image 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="steve-0300.jpg" | |
srcset="steve-0100.jpg 100w, | |
steve-0150.jpg 150w, | |
steve-0200.jpg 200w, | |
steve-0300.jpg 300w" | |
sizes="(max-width: 767px) 100px, 150px" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment