Created
October 16, 2014 04:17
-
-
Save foobartel/857f2e075e525e2ecb14 to your computer and use it in GitHub Desktop.
Simple SVG 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
<!-- The simplest way to have PNG fallback for browsers without SVG support: | |
hattip by @viljamis --> | |
<img src="logo.svg" onerror="this.onerror=null;this.src='logo.png'"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment