Code Flick TechnologiesToolscodeftech.com

CSS Spinner Generator

Pick a spinner style (ring, dots, bars), size, color, and speed. Pure-CSS keyframes plus markup.

100% in your browser. Files never uploaded.
Style
Markup + CSS
<style>
.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #e11d4833;
  border-top-color: #e11d48;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
</style>

<div class="spinner"></div>

How to use

  1. 1
    Pick a style
    Ring, three dots, or four bars.
  2. 2
    Size, speed, color
    Live preview.
  3. 3
    Copy markup + CSS
    Drop straight into your page.

Related tools