font-awesome-animation/README.md

43 lines
925 B
Markdown
Raw Permalink Normal View History

2021-01-22 03:48:51 +08:00
# font-awesome-animation ![build](https://github.com/l-lin/font-awesome-animation/workflows/build/badge.svg) [![npm version](https://badge.fury.io/js/font-awesome-animation.svg)](https://badge.fury.io/js/font-awesome-animation)
2014-01-22 06:03:43 +08:00
> Simple animations using some CSS3 I found on the web.
> Best used on glyphicons like [FontAwesome](http://fortawesome.github.io/Font-Awesome/).
## Getting started
2014-01-22 06:03:43 +08:00
Add
2020-04-01 04:12:54 +08:00
```bash
npm install font-awesome-animation
2014-01-22 06:03:43 +08:00
```
Include CSS file in your index.html file:
2020-04-01 04:12:54 +08:00
2014-01-22 06:03:43 +08:00
```html
<link rel="stylesheet" href="font-awesome-animation.min.css">
```
## Usage
2014-01-22 06:03:43 +08:00
See [live demo](https://l-lin.github.com/font-awesome-animation).
## Development
This project is using:
- the CSS preprocessor [Myth](http://www.myth.io/) to generate the prefixes for common browsers
2020-04-01 04:12:54 +08:00
```bash
# install dependencies
2020-04-01 04:12:54 +08:00
npm install
# generate prefixes and minified CSS files
npm run build
```
## License
[MIT License](LICENSE)
2020-04-01 04:12:54 +08:00