About CSS Loader Generator
A CSS loader is a loading indicator drawn with styles alone, with no image or script. This generator outputs HTML and CSS for four styles. The ring is a bordered circle with one colored side that rotates. Dots and bars are three child elements animated with staggered delays. The pulse is a circle that scales up while fading out. Add role="status" and a hidden text label so screen readers announce that content is loading.
How to use CSS Loader Generator
- Fill in "Style", "Size", "Color" and "Speed".
- The result appears below and updates as you type.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about CSS Loader Generator
How do I center the loader on the page?
Give the parent display: grid and place-items: center, with a height such as 100vh for a full-screen overlay. The loader is an inline-block or inline-flex element, so it centers like any other box.
Runs in your browser. Page last updated .