- Messages
- 3,887
- Reaction score
- 858
- Points
- 168
Spinners or loaders are essential elements of modern web design. They offer visual feedback during data fetching, form submissions, or page loads—keeping users engaged while content is being processed.
This tutorial will explain how you can create a shiny circular loader with purely HTML and css, no javascript required.
frontbackgeek.com
We’ll create two animated circular spinners using reusable HTML and CSS. Each spinner features rotating rings with glowing orbs in the center, giving an illusion of perpetual motion. The second spinner is styled using an alternate theme to show how easily the design can be adapted.
Each .spinner-box acts as a container for four spinning elements:
The rest of the guide can be viewed on Create Stunning Shiny Circular Loaders with Pure CSS – No JavaScript Needed! - <FrontBackGeek/>
CSS-powered loaders like this not only enhance the user experience but also demonstrate the power of animations without needing any JavaScript. This spinner setup can be customized with different colors, sizes, and animation speeds—making it a flexible addition to any project.
Add it to your project as a loader while fetching data or during page transitions for a sleek and modern feel. Happy Coding 🙂
This tutorial will explain how you can create a shiny circular loader with purely HTML and css, no javascript required.

Create Stunning Shiny Circular Loaders with Pure CSS – No JavaScript Needed! - <FrontBackGeek/>
Spinners or loaders are essential elements of modern web design. They offer visual feedback during data fetching, form submissions, or page loads—keeping

We’ll create two animated circular spinners using reusable HTML and CSS. Each spinner features rotating rings with glowing orbs in the center, giving an illusion of perpetual motion. The second spinner is styled using an alternate theme to show how easily the design can be adapted.
Code:
<div class="spinner-box">
<div class="spin-ring ring-one"><span></span></div>
<div class="spin-ring ring-two"><span></span></div>
<div class="spin-ring ring-three"><i></i></div>
<div class="spin-ring ring-four"><i></i></div>
</div>
<div class="spinner-box theme-alt">
<div class="spin-ring ring-one"><span></span></div>
<div class="spin-ring ring-two"><span></span></div>
<div class="spin-ring ring-three"><i></i></div>
<div class="spin-ring ring-four"><i></i></div>
</div>
Each .spinner-box acts as a container for four spinning elements:
- .ring-one and .ring-two: Have gradient-filled left halves.
- .ring-three and .ring-four: Feature glowing dots using <i> elements for a futuristic visual.
- The second .spinner-box uses the class theme-alt to apply a different color palette.
Code:
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #0a0a0a;
flex-direction: column;
gap: 40px;
}
CSS-powered loaders like this not only enhance the user experience but also demonstrate the power of animations without needing any JavaScript. This spinner setup can be customized with different colors, sizes, and animation speeds—making it a flexible addition to any project.
Add it to your project as a loader while fetching data or during page transitions for a sleek and modern feel. Happy Coding 🙂