-
-
Save zrothauser/a58d1d3cf4cc3f285a85 to your computer and use it in GitHub Desktop.
Srcset markup
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="http://10up.com/wp-content/uploads/2015/07/example-1000x250.jpg" | |
srcset="http://10up.com/wp-content/uploads/2015/07/example-2000x500.jpg 2000w, | |
http://10up.com/wp-content/uploads/2015/07/example-1000x250.jpg 1000w, | |
http://10up.com/wp-content/uploads/2015/07/example-500x125.jpg 500w" | |
sizes="(min-width: 64em) 674px, | |
100vw" | |
alt="Alt Text" | |
class="featured-image" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment