CSS 加载动画生成器 - Free Online Tool

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #D97706;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

What is CSS Loader Generator?

CSS Loader Generator helps you quickly create Loading animations in various styles. Choose from three classic styles — Spinner, Dots, and Bars — and customize size, speed, and color. Preview animations in real-time and one-click generate pure CSS code, no JavaScript needed. The generated code can be embedded directly into your project to improve user experience. All operations run locally in your browser.

Use Cases

  • Web page loading indicators
  • AJAX request animations
  • Image loading placeholders
  • Page transition animations
  • App loading screens

How to Use

  1. 1Choose animation style
  2. 2Adjust size, speed, and color
  3. 3Preview in real-time
  4. 4Copy the generated CSS code

Features

  • Free
  • Three classic styles
  • Multi-parameter customization
  • Live preview
  • Pure CSS — no JS needed
  • One-click code copy

FAQ

Is this tool free?

Yes — completely free. No accounts, no paywalls. Just open the page and go.

Does my data get sent to a server?

No. Everything runs in your browser. Your data never leaves your device.

Does it work on my phone?

Absolutely. Works great on phones, tablets, and desktops alike.

How fast is it?

Instant for most inputs. Large datasets might take a second or two.

Do I need to be online?

You need the internet to load the page the first time. After that, it works offline.