Created
June 22, 2015 19:39
-
-
Save JakeBeresford/3afc194e2955a0c3536e 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> | |
<!--- Small Screens ---> | |
<source srcset="http://placehold.it/767x767" alt="some alt text" media="max-width(767px)"> | |
<!--- Medium screens ---> | |
<source srcset="http://placehold.it/1024x1024" alt="some alt text" media="min-width(768px)"> | |
<!--- Large screens ---> | |
<source srcset="http://placehold.it/1200x1200" alt="some alt text" media="min-width(1024px)"> | |
<!--- Fallback for browsers without support ---> | |
<img src="http://placehold.it/1200x1200" alt="Some alt text"> | |
</picture> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment