1001Tools

CSS Loader Generator

Design pure CSS loading spinners — pick a style, tune size, color, and speed, then copy the HTML and CSS.

Settings

Preview

Code

<!-- HTML -->
<div class="loader"></div>

/* CSS */
.loader {
  width: 48px;
  height: 48px;
  border: 6px solid #e5e7eb;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

Related tools