# emoji-data-css

> emoji css classes

Latest version **1.0.1** (published 2016-11-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install emoji-data-css
pnpm add emoji-data-css
yarn add emoji-data-css
bun add emoji-data-css
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-11-18 |
| First published | 2016-10-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 43 |
| Author | Juanfran Alcántara |
| Maintainers | juanfran |

## Links

- npm: https://www.npmjs.com/package/emoji-data-css
- Repository: https://github.com/juanfran/emoji-data-css
- Homepage: https://github.com/juanfran/emoji-data-css#readme
- Issues: https://github.com/juanfran/emoji-data-css/issues
- npm.io page: https://npm.io/package/emoji-data-css

## Dependencies (2)

- [clean-css](https://npm.io/package/clean-css.md) ^3.4.20
- [emoji-datasource](https://npm.io/package/emoji-datasource.md) ^2.4.4

## Recent versions

- 1.0.1 (latest) — 2016-11-18
- 1.0.0 — 2016-10-12

## README

**emoji-data-css** uses [emoji-data](https://github.com/iamcal/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

```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

```html
<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 -->
```

![emoji screenshot](https://raw.githubusercontent.com/juanfran/emoji-data-css/master/screenshot.png "emoji screenshot")

If you selected all the sizes file

```html
<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  -->
```

[full emoji list names](http://unicodey.com/emoji-data/table.htm)

### Graphics license

* Apple Emoji: Copyright &copy; Apple Inc. - OS X 10.11.1
* Android Emoji: Copyright &copy; [The Android Open Source Project](https://s3-eu-west-1.amazonaws.com/tw-font/android/NOTICE)
* Twitter Emoji Copyright &copy; Twitter, Inc.
* Emoji One Emoji: Copyright &copy; [Ranks.com Inc.](http://www.emojione.com/developers)

---
_Source: https://npm.io/package/emoji-data-css · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
