Last active
September 19, 2018 17:41
-
-
Save uploadcare-user/cf85726cb9737ebc54cdbfdb24421e51 to your computer and use it in GitHub Desktop.
Art Direction combined with variable resolution
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 media="(max-width: 600px)" | |
srcset="cropped_art_direction_300.jpg 300w, | |
cropped_art_direction_600.jpg 600w" | |
sizes="300px"> | |
<img src="art_direction.jpg" alt="An example of art direction" | |
srcset="art_direction_600.jpg 600w, | |
art_direction_1200 1200w" | |
sizes="600px"> | |
</picture> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment