Skip to content

Instantly share code, notes, and snippets.

@goodreds
Created December 8, 2022 01:54
Show Gist options
  • Save goodreds/d6790907e3c1b22e4f54040771d64a4c to your computer and use it in GitHub Desktop.
Save goodreds/d6790907e3c1b22e4f54040771d64a4c to your computer and use it in GitHub Desktop.
This is the default image source set to use whenever there is call for an image
<picture>
<source media=("max-width: 600px") srcset="/images/service-mobile.webp">
<source media=("min-width: 601px") srcset="/images/service.webp">
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/service.webp" alt="appliance" width="275" height="132">
</picture>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment