Skip to content

Instantly share code, notes, and snippets.

@navjotjsingh
Created June 27, 2021 00:09
Show Gist options
  • Save navjotjsingh/6c4c0b4024c62f993c9a4a89f9236c2b to your computer and use it in GitHub Desktop.
Save navjotjsingh/6c4c0b4024c62f993c9a4a89f9236c2b to your computer and use it in GitHub Desktop.

Revisions

  1. navjotjsingh created this gist Jun 27, 2021.
    4 changes: 4 additions & 0 deletions jxl_image.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    <picture>
    <source srcset="https://example.com/images/picture.jxl" type="image/jxl">
    <img src="https://example.com/images/jpeg_fallback_picture.jpg" alt="JPEG Fallback picture for JPEG XL format">
    </picture>