Skip to content

Instantly share code, notes, and snippets.

@ostermanj
Last active June 27, 2023 15:21
Show Gist options
  • Save ostermanj/5e7b56d6a62e60bc0d3d9ed5c9e00689 to your computer and use it in GitHub Desktop.
Save ostermanj/5e7b56d6a62e60bc0d3d9ed5c9e00689 to your computer and use it in GitHub Desktop.
<img
srcset="images/my-cat-xs.jpg 250w, image/my-cat-s.jpg 500w, image/my-cat-m.jpg 1000w, image/my-cat-l.jpg 1000w, image/my-cat-xl.jpg 1500w"
sizes="(min-width: 1300px) 1300px, (min-width: 1024px) 69vw, (min-width: 700px) 85vw, 50vw"
src="image/my-cats-s.jpg"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment