Created
January 13, 2016 11:49
-
-
Save anonymous/2aa012bc92ccf47d7997 to your computer and use it in GitHub Desktop.
Responsive image using picture
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
<picture> | |
<source media="(min-width: 20em)" | |
srcset="http://placehold.it/640x406 640w, | |
http://placehold.it/1024x650 1024w"> | |
<img src="http://placehold.it/320x320" alt="Placeholder Image" /> | |
</picture> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment