mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-12-27 14:01:33 +08:00
51 lines
1.2 KiB
Markdown
51 lines
1.2 KiB
Markdown
# font-awesome-animation
|
|
|
|
> Simple animations using some CSS3 I found on the web.
|
|
> Best used on glyphicons like [FontAwesome][]
|
|
|
|
![build](https://github.com/l-lin/font-awesome-animation/workflows/build/badge.svg)
|
|
[![npm](https://img.shields.io/npm/v/font-awesome-animation.svg)][npm-link]
|
|
[![npm](https://img.shields.io/npm/dm/font-awesome-animation.svg)][npm-link]
|
|
[![jsdelivr](https://data.jsdelivr.com/v1/package/npm/font-awesome-animation/badge?style=rounded)][cdn-link]
|
|
|
|
## Getting started
|
|
|
|
Install from NPM:
|
|
|
|
```bash
|
|
npm install font-awesome-animation
|
|
```
|
|
|
|
Or with a CDN:
|
|
|
|
[https://www.jsdelivr.com/package/npm/font-awesome-animation][cdn-link]
|
|
|
|
Include CSS file in your index.html file:
|
|
|
|
```html
|
|
<link rel="stylesheet" href="font-awesome-animation.min.css">
|
|
```
|
|
|
|
## Usage
|
|
|
|
See [live demo](https://l-lin.github.com/font-awesome-animation).
|
|
|
|
## Development
|
|
|
|
```bash
|
|
# install dependencies
|
|
npm install
|
|
|
|
# generate prefixes and minified CSS files
|
|
npm run build
|
|
```
|
|
|
|
## License
|
|
|
|
[MIT License](LICENSE)
|
|
|
|
[FontAwesome]: https://fontawesome.com/
|
|
[npm-link]: https://www.npmjs.com/package/font-awesome-animation
|
|
[cdn-link]: https://www.jsdelivr.com/package/npm/font-awesome-animation
|
|
|