Last active
July 19, 2018 22:26
-
-
Save skyzyx/5257229 to your computer and use it in GitHub Desktop.
Load #SVG images with #PNG fallback (HTML-only)
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
<object data="illustration.svg" width="{w}" height="{h}"> | |
<img src="illustration.png" width="{w}" height="{h}" alt="Helpful alternate text describing the image."> | |
</object> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment