Loading Spinner Generator

Generate CSS-only loading spinners and progress indicators

1 credit

Spinner (18)

Background

View

Live preview — ring
CSS + HTML
.spinner {
  width: 64px; height: 64px;
  border: 5px solid rgba(148, 163, 184, 0.25);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* HTML: <div class="spinner"></div> */