⏳

CSS Loader Generator

Create one of twelve decorative CSS loading animations and compare its shape, colors and cycle duration before integrating the HTML and CSS into your page.

Settings are processed in this browser. Copy uses your device clipboard; the animation does not track a real operation.

The code matches the current settings.

1. Choose a loader

2. Adjust appearance and timing

Hex colors: #RGB, #RRGGBB or #RRGGBBAA. An alpha value of 00 is fully transparent.

16–120 px, in whole pixels. Rotating shapes can extend beyond this nominal box.

0.3–3 seconds, in steps of 0.1. A shorter duration means a faster cycle.

2–12 px, in whole pixels, for border styles. Twice the thickness must not exceed the size.

Full-size preview

Previews start still. Play animates all previews; your reduced-motion preference keeps them still. The preview button does not change the exported animation, which also respects reduced motion.

The background is for preview only; it is not added to the copied snippet.

This is a visual demonstration, not a measure of task completion, connection quality or elapsed loading time. Size is the nominal box; rotation can extend outside it. Border thickness affects only border styles; the secondary color affects the Spinner track.

3. Review and copy code

The generator builds CSS shapes and named keyframes from validated settings. Fixed bar heights keep repeated reads and copies identical. The snippet needs no JavaScript animation library.

HTML + CSS includes the styles and markup. CSS or HTML alone needs its matching part; keep the generated class names and keyframes together.

If copying is refused, select and copy the code in this field manually.

Copied

Copy failed. Select the result and copy it manually.

Embed this tool on your website

Use whole pixel dimensions from 1 to 4096.

× px (1–4096)

                        

💡 Integration Tip

Copy the embed code and paste it into your website HTML. The responsive version adapts to all screen sizes automatically.

1 rating
✓

Popular Tools

No more tools to show
Explore All Tools

About CSS Loader Generator

Create one of twelve decorative CSS loading animations and compare its shape, colors and cycle duration before integrating the HTML and CSS into your page.

Example: Spinner, blue #3b82f6, track #1e293b, size 48 px, border 4 px, duration 1 s produces a 48 px outer box with a 4 px border and a 1 s rotation. HTML + CSS includes its keyframes.

This is a visual demonstration, not a measure of task completion, connection quality or elapsed loading time. Size is the nominal box; rotation can extend outside it. Border thickness affects only border styles; the secondary color affects the Spinner track.

Use Cases

Decorative waiting indicators paired with real loading status in the application.

How to use

1

Choose Spinner, Dots, Pulse, Ring, Bars, Bounce, Chase, Square, Dual ring, Ripple, Ellipsis or Hourglass from the twelve tiles.

2

Set the primary color with its picker or hex field. Set the Spinner track color separately; other styles use the primary color.

3

Adjust size from 16–120 px, duration from 0.3–3 s and border thickness from 2–12 px. For border styles, keep twice the thickness within the size.

4

Choose a preview background and play the previews to inspect the full-size shape and pace. Stop them whenever needed; reduced motion keeps them still.

5

Choose HTML + CSS, CSS or HTML, then copy the code. Keep the generated class and keyframes together when adding the snippet to your page.

Pro Tips

  • Test the animation against your actual page background; a transparent color may make part of it invisible.
  • The exported markup is decorative (aria-hidden). Provide meaningful loading text or a status region in your application, tied to the real operation.

Frequently Asked Questions

Its five bar heights are fixed at 40%, 70%, 100%, 70% and 40%. Reading, switching code format or copying does not invent a new pattern.

No. It sets a repeating visual cycle only. Chase dots use a 1.5-times cycle and staggered parts have delays; none reports real progress.

The HTML needs its matching CSS and named keyframes. Use HTML + CSS for both parts, or place the matching CSS in your stylesheet.

FreeWebTools AI