Skip to content

Instantly share code, notes, and snippets.

@gregwhitworth

gregwhitworth/respimg_example3.html Secret

Last active Nov 18, 2015
Embed
What would you like to do?
<picture>
<source type="image/vnd.ms-photo"
sizes="100vw"
srcset="imgs/hero-small.jxr 480w,
imgs/hero-med.jxr 960w,
imgs/hero-large.jxr 1920w,
imgs/hero-xlarge.jxr 2500w">
<img class="hero"
src="imgs/hero-xlarge.jpg"
sizes="100vw"
srcset="imgs/hero-small.jpg 480w,
imgs/hero-med.jpg 960w,
imgs/hero-large.jpg 1920w"
alt="A portrait painting of a woman on a couch">
</picture>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.