Last active
November 2, 2016 16:17
-
-
Save uploadcare-user/e264d037858113acc6cf4cc705c4359c to your computer and use it in GitHub Desktop.
codeblock #2 responsive images
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="myimage.jpg" | |
srcset="myimage@400.jpg 400w, | |
myimage@500.jpg 500w, | |
myimage@1000.jpg 1000w" | |
sizes="(max-width: 500px) calc(100vw - 30px), 500px"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment