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.
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
- 1Pick a styleRing, three dots, or four bars.
- 2Size, speed, colorLive preview.
- 3Copy markup + CSSDrop straight into your page.