-
-
Save ozelfatih/b49c061a4576b43d13617b625cad6c4d 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
<picture> | |
<source srcset="mobile.jpg, mobile-hd.jpg 2x" | |
media="(max-width: 360px)"> | |
<source srcset="large.jpg, large-hd.jpg 2x" | |
media="(min-width: 1920px)"> | |
<img src="default.jpg" srcset="default-hd.jpg 2x" | |
alt="your image"> | |
</picture> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment