Last active
August 29, 2015 14:09
-
-
Save stretchgz/3e2ff3b4bf03271a0d2a to your computer and use it in GitHub Desktop.
twitter emoji example
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
/** | |
* twitter emoji example | |
*/ | |
p{ | |
font-size: 5em; | |
} | |
img.emoji { | |
height: 1em; | |
width: 1em; | |
margin: 0 .05em 0 .1em; | |
vertical-align: -0.1em; | |
} |
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
<!-- get emoji at | |
http://www.iemoji.com/emoji-cheat-sheet/all | |
--> | |
<p>Text: π π π π π π· π</p> | |
<!-- twitter emoji --> | |
<script src="//twemoji.maxcdn.com/twemoji.min.js"></script> | |
<script> | |
twemoji.parse(document.body, { | |
folder: 'svg', | |
ext: '.svg' | |
}); | |
</script> |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment