Created
January 13, 2016 11:50
-
-
Save anonymous/bfcd96b9bb3ad2f5d943 to your computer and use it in GitHub Desktop.
Responsive image using srcset
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="small.jpg" | |
srcset="large.jpg 1024w, | |
medium.jpg 640w, | |
small.jpg 320w" | |
alt="Placeholder Image" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment