emoji-data-css
v1.0.1
Published
emoji css classes
Downloads
144,643
Readme
emoji-data-css uses emoji-data spritesheets to generate css files.
Usage
Choose the emoji set
- Apple (ap)
- Google (gl)
- Twitter (tw)
- Emoji One (eo)
Choose the size (16, 20, 32, 64, all) and link in your html
<link href="path/to/emoji-data-css/files/eo-32-emoji.css" media="all" rel="stylesheet" />
<!-- this links to "emoji one" 32x32 css -->
Now you can add emoji classes in your code
<div class="ap ap-smile"></div> <!-- apple smile emoji -->
<div class="gl gl-smile"></div> <!-- google smile emoji -->
<div class="tw tw-smile"></div> <!-- twitter smile emoji -->
<div class="eo eo-smile"></div> <!-- emoji one smile emoji -->
If you selected all the sizes file
<div class="ap-32 ap-smile"></div> <!-- apple 32x32 smile emoji in ap-all-emoji.css -->
<div class="gl-64 gl-smile"></div> <!-- google 64x64 smile emoji in gl-all-emoji.css -->
<div class="tw-16 tw-smile"></div> <!-- twitter 16x16 smile emoji in tw-all-emoji.css -->
<div class="eo-20 eo-smile"></div> <!-- emoji one 20x20 smile emoji in eo-all-emoji.css -->
Graphics license
- Apple Emoji: Copyright © Apple Inc. - OS X 10.11.1
- Android Emoji: Copyright © The Android Open Source Project
- Twitter Emoji Copyright © Twitter, Inc.
- Emoji One Emoji: Copyright © Ranks.com Inc.