Last active
December 28, 2015 03:29
-
-
Save carlos-sanchez/7435864 to your computer and use it in GitHub Desktop.
With this technique svg graphics scale up as you zoom in. It is dependent on JS because it uses onerror.
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
<img src="image.svg" onerror="this.src='image.png'; this.onerror=null;"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment