Last active
November 11, 2019 17:11
-
-
Save pigeonfresh/e23015f20610f17d65d82b81b6b096b7 to your computer and use it in GitHub Desktop.
Picture Example
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
# For the Hero the author has the option to upload 3 images | |
# Appropriate labels could be Mobile, Tablet and Desktop | |
# Mobile (dimensions: 1024x768) would be the default image | |
# Tablet (dimensions: 1400x1024) would be visible for viewports >= 768 | |
# Desktop (dimension: 1920x1080) would be for viewports >= 1024 | |
hero-image: | |
source: | |
- srcset: "http://placehold.it/1920x1080" | |
media: "(min-width: 1024px)" | |
- srcset: "http://placehold.it/1400x1024" | |
media: "(min-width: 768px)" | |
src: "http://placehold.it/1024x768" | |
alt: "Foo bar" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment