Created
July 6, 2020 05:49
-
-
Save velotiotech/ea670e2f3c6fb493c397b5a0e69628dd to your computer and use it in GitHub Desktop.
Have you diagnosed your app’s performance yet? - Using WebP Image with fallback
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
<picture> | |
<source type="image/jp2" srcset="my-image.jp2"> | |
<source type="image/jxr" srcset="my-image.jxr"> | |
<source type="image/webp" srcset="my-image.webp"> | |
<source type="image/jpeg" srcset="my-image.jpg"> | |
<img src="my-image.jpg" alt=""> | |
</picture> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment