Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jovey-zheng/loader

Pure css loading animations. As long as only one element!
https://github.com/jovey-zheng/loader

animation css css-loading-animations loader

Last synced: about 1 month ago
JSON representation

Pure css loading animations. As long as only one element!

Awesome Lists containing this project

README

        




















Pure css loading animations. As long as only one element! Live Demos.



Inspiration from loaders.css and css-loaders.

## Install

Install with npm:
```
$ npm install --save css-loading
```

install with bower:
```
$ bower install --save css-loading
```

or download [the Latest releases version(ZIP)](https://github.com/jovey-zheng/loader/archive/v1.4.0.zip).

## Basic Usage

1. Import:

```html
or

```

or require from `node_modules`:

```js
import 'css-loading'
```

2. Create an element and add the attribute `data-loader`:

```html


```

## Contributing

Pull requests are welcome!

Create another animation file in `src/` and test it in `example/example.html`, then open it in a browser to see your animation running.

## License

License under [MIT](https://github.com/jovey-zheng/loader/blob/master/LICENSE).