Created
May 19, 2014 09:14
-
-
Save tobie/3b77c6db3fe3f52286e2 to your computer and use it in GitHub Desktop.
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" alt="A rad wolf" id="my-img" /> | |
<imgsource for="my-img"> | |
<source media="(min-width: 36em)" | |
srcset="large.jpg 1024w, | |
medium.jpg 640w, | |
small.jpg 320w" | |
sizes="33.3vw" /> | |
<source srcset="cropped-large.jpg 2x, | |
cropped-small.jpg 1x" /> | |
</imgsource> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment