Created
September 19, 2018 17:31
-
-
Save uploadcare-user/a56a4177deb0e231b8c46042bacda6e0 to your computer and use it in GitHub Desktop.
Basic responsive image using `srcset`
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="cat.jpg" | |
alt="Example Cat" | |
srcset="cat-600.jpg 600w, | |
cat-1200.jpg 1200w, | |
cat-1800.jpg 1800w, | |
cat-2400.jpg 2400w"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment