Skip to content

Instantly share code, notes, and snippets.

Created Jan 13, 2016
Embed
What would you like to do?
Responsive image using picture
<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