damiandennis/spin.js

This package is abandoned and no longer maintained. No replacement package was suggested.

An animated CSS3 loading spinner with VML fallback for IE.

Installs: 245

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1 085

Language:JavaScript

dev-master 2014-05-24 22:34 UTC

This package is not auto-updated.

Last update: 2019-02-20 18:09:23 UTC


README

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

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.