Last active
May 3, 2019 14:12
-
-
Save robjtede/e5af38bd087d4c6b2aaad364ad76c53a to your computer and use it in GitHub Desktop.
Async inlining an SVG in HTML with CSS support
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
<iframe src="icon.svg" onload="this.before(this.contentDocument.children[0]); this.remove();"></iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment