• Stars
    star
    924
  • Rank 49,426 (Top 1.0 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 11 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple CSS spinners and throbbers made with CSS and minimal HTML markup.

CSS Spinners

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/.

Class Description
.spinner-loader Spinning circles.
.throbber-loader Animated Facebook-like throbber.
.refreshing-loader Circular spinning arrow. Great for refreshing content.
.heartbeat-loader Animated beating heart.
.gauge-loader Animated speedometer-like gauge with rotating needle.
.three-quarters-loader Minimal three-quarters donut spinner.
.wobblebar-loader Animated wobbling progress bar.
.atebits-loader Staight out of Letterpress, an animated rotating Atebits logo.
.whirly-loader A comet-like rotating spinner.
.flower-loader An animated spinning flower.
.dots-loader Almost a rotating shell game. With dots!
.circles-loader Three rotating multi-colored circles.
.plus-loader Animated Google Plus-like loader.
.ball-loader A bouncing ball.
.hexdots-loader Similar to the dots animation, but with six!
.inner-circles-loader A filling circle with other circles
.pong-loader Retro tennis-like game simulation from the 70s.
.pulse-loader A pulsing circle. Shrinking and enlarging.
.spinning-pixels-loader A spinning pixelated loader.

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.

Adaptations

React components by Adam Wanninger

More Repositories

1

serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
Ruby
836
star
2

radius

A small, but powerful tag-based template language for Ruby modeled after the ones used in MovableType and TextPattern. It has tags similar to XML, but can be used to generate any form of plain text (HTML, e-mail, etc...).
Ruby
101
star
3

popupjs

A prototype/lowpro based Facebook-style windowing solution
JavaScript
58
star
4

rubyblue

A collection of themes for different text editors that mimic the colors used in the code samples on ruby-lang.org
Vim Script
50
star
5

statusjs

Allows you to display a status message when submiting a form or performing other time consuming tasks
JavaScript
28
star
6

TrelloApp

A simple unofficial wrapper application for Trello.com. No longer maintained. Superseded by Trello's own app: https://apps.apple.com/app/trello/id1278508951?ls=1&mt=12
Swift
23
star
7

cheap-sass-tricks

CSS
22
star
8

radiant-bespin-editor-extension

Replaces all textareas in Radiant with the Bespin editor
JavaScript
18
star
9

feedchamp

A simple camping application that makes it easy to aggregate a bunch of feeds into a single website.
Ruby
10
star
10

sass-convert.vim

Simple commands for Vim for converting Sass from SCSS to Sass and back.
Vim Script
8
star
11

acoustic

A lightweight Ruby Web framework experiment based loosely on Django and Rails
Ruby
6
star
12

cookbook

A simple cookbook application designed to demo Rails 3. Made with Devise for authentication and Twitter Bootstrap for styles.
Ruby
5
star
13

javascript_spec

4
star
14

serve-heroku

An example Serve project deployed on Heroku
Ruby
4
star
15

MacRubyClock

A very simple clock written in MacRuby. Uses NSTimer and a label to display the current time.
Ruby
3
star
16

serve-slim

An example Serve project with Slim
Ruby
3
star
17

ChessClocks

A simple chess clock application for the iPhone
Objective-C
2
star
18

ruby-presentation

The source code for a presentation that John W. Long and Ryan Platte put together in 2005
Ruby
2
star
19

radiant3

A Rails 3 update and reboot of Radiant
Ruby
1
star
20

ChessClocksAssets

1
star
21

radiant

Ruby
1
star
22

snakejs

The micro selector and events library for IE8+ perfectly suited for widgets and simple applications or websites.
JavaScript
1
star
23

test_helpers

An older Rails plugin that adds support for test helpers
Ruby
1
star
24

css-workshop

The source files from a workshop I did several years ago. Students were supposed to style the provided HTML so that it looked like the provided mockup.
1
star
25

oxygen-moogle-example

CSS
1
star
26

styleguide

Gulp workflow for a styleguide
JavaScript
1
star
27

snakes-and-rubies

The source code for an application that collected questions for a debate that occurred between David Heinemeier Hansson and Adrian Holovaty about Rails and Django.
Ruby
1
star
28

angular-and-d3

Example code from my presentation on Angular and D3
JavaScript
1
star
29

stealth

Experimental work on a Javascript game
JavaScript
1
star
30

abstract_testcases

An older Rails plugin that adds support for abstract test cases
Ruby
1
star
31

hello-c

Canonical hello world program in C
Shell
1
star
32

serve-coffee

Basic demo of how to use Serve with Coffee Script. The tricky part is that you need to serve it from your views directory and make sure the layout is appropriate.
Ruby
1
star