2.2.1 • Published 7 years ago

@chgibb/css-spinners v2.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

CSS Spinners

Forked from here

Simple CSS loading indicators made with CSS and minimal HTML markup.

screenshot

All loading indicators are designed to be used with minimal markup:

<div class="loading-indicator">
	Loading...
</div>

Simply replace "loading-indicator" with the class name of your choice.

Markup

To use a specific loading indicator link the appropriate file:

<link rel="stylesheet" href="css/spinner/throbber.css">

Or, if you'd like to have access to the entire library of spinners you can link the root file:

<link rel="stylesheet" href="css/spinners.css">

Then apply the appropriate class name for the spinner of your choice to the markup:

<div class="throbber-loader">
	Loading...
</div>

Class names

The full list of loading indicator class names are shown below. To see them in action, visit http://css-spinners.com/.

ClassDescription
.spinner-loaderSpinning circles.
.throbber-loaderAnimated Facebook-like throbber.
.refreshing-loaderCircular spinning arrow. Great for refreshing content.
.heartbeat-loaderAnimated beating heart.
.gauge-loaderAnimated speedometer-like gauge with rotating needle.
.three-quarters-loaderMinimal three-quarters donut spinner.
.wobblebar-loaderAnimated wobbling progress bar.
.atebits-loaderStaight out of Letterpress, an animated rotating Atebits logo.
.whirly-loaderA comet-like rotating spinner.
.flower-loaderAn animated spinning flower.
.dots-loaderAlmost a rotating shell game. With dots!
.circles-loaderThree rotating multi-colored circles.
.plus-loaderAnimated Google Plus-like loader.
.ball-loaderA bouncing ball.
.hexdots-loaderSimilar to the dots animation, but with six!
.inner-circles-loaderA filling circle with other circles
.pong-loaderRetro tennis-like game simulation from the 70s.
.pulse-loaderA pulsing circle. Shrinking and enlarging.

Customize with Sass

Many of the spinners in this collection can be customized by tweaking variables included in the Sass source files.

Install with Bower

You can install CSS Spinners with the following command, like any other Bower project:

$ bower install css-spinners

CSS is available in the css/ directory and Sass in the sass/ directory.

Contributions

Contributions are welcome! See CONTRIBUTING.md for details.

License

CSS Spinners is freely available under the MIT License. See LICENSE file for details.