Copy a CSS loading spinner into your web app to display while content is loading, with no JavaScript or extra markup needed
Resize any spinner to fit your layout by changing a single font-size CSS property
Add accessible loading indicators that include built-in screen reader text out of the box
CSS Loaders is a collection of animated loading spinners built entirely with CSS. Each spinner is made from a single HTML element, a div with a class of "loader", with no additional markup beyond optional CSS pseudo-elements. The text content "Loading..." is included for screen readers and older browsers that may not support CSS animations. The project was created with a deliberate constraint: every spinner must use exactly one HTML element. The idea behind this limit is that a loading indicator is a small, simple thing that should not require complex markup. Because all sizing uses the em unit relative to a base font size, you can resize any spinner by changing just the font-size property on it. The spinners work across a broad range of browsers including Internet Explorer 10 and later, Chrome 4 and later, Firefox 16 and later, Opera 15 and later, and Safari 4 and later. A live demo is linked from the project README so you can preview each animation style before deciding which one to use in your project. The repository is licensed under the MIT License, which allows free use in personal and commercial projects. Contributions are accepted through the standard GitHub pull request workflow: fork the repository, create a branch for your change, commit it, and open a pull request.
← lukehaas on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.