mirror of
https://github.com/netzmacht/contao-leaflet-libraries.git
synced 2025-11-29 11:33:44 +01:00
22 lines
662 B
Markdown
22 lines
662 B
Markdown
|
|
# spin.js [](http://js.org)
|
||
|
|
|
||
|
|
An animated CSS3 loading spinner with VML fallback for IE.
|
||
|
|
|
||
|
|
* No images, no external CSS
|
||
|
|
* No dependencies
|
||
|
|
* Highly configurable
|
||
|
|
* Resolution independent
|
||
|
|
* Uses VML as fallback in old IEs
|
||
|
|
* Uses @keyframe animations, falling back to setTimeout()
|
||
|
|
* Works in all major browsers, including IE6
|
||
|
|
* Small footprint (~1.9K gzipped)
|
||
|
|
* MIT License
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```javascript
|
||
|
|
new Spinner({color:'#fff', lines: 12}).spin(target);
|
||
|
|
```
|
||
|
|
|
||
|
|
For an interactive demo and a list of all supported options please refer to the [project's homepage](http://spin.js.org).
|