Created
March 8, 2024 21:44
-
-
Save yunga/ed2a48765ed74d82ef75f6d423a9c165 to your computer and use it in GitHub Desktop.
SVG Unicode Emoji Favicon
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
<!doctype html> | |
<title>SVG Unicode Emoji Favicon</title> | |
<link rel='icon' href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="99">🎮</text></svg>'> | |
<style> | |
body { | |
display : grid; | |
align-items : center; | |
justify-content : center; | |
width : 100vmin; | |
height : 100vmin; | |
margin : auto; | |
} | |
svg { | |
width : 512px; | |
height : 512px; | |
border : 8px solid black; | |
margin : auto; | |
} | |
</style> | |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"> | |
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="99">🎮</text> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment