A spinning activity indicator
JavaScript HTML CSS
Latest commit 3b987bc Apr 11, 2016 @pnikolov pnikolov committed with TimothyGu Added Composer JSON file. (#320)

README.md

spin.js 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

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.