15 Pure CSS Loading Animations
Orbit System
Two rings rotate at different speeds and directions around a central core, like a miniature solar system.
Orbit System the 8th of 15 designs in the 15 Pure CSS Loading Animations collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.
Live preview
The code
<div class="orbit-wrap"> <div class="orbit-core"></div> <div class="orbit-ring"></div> <div class="orbit-ring"></div> </div>
.orbit-wrap {
position: relative;
width: 60px;
height: 60px;
}
.orbit-core {
position: absolute;
inset: 0;
margin: auto;
width: 14px;
height: 14px;
border-radius: 50%;
background: #7c6cff;
}
.orbit-ring {
position: absolute;
inset: 0;
border: 2px solid transparent;
border-top-color: #ff6c8a;
border-radius: 50%;
animation: orbit 1s linear infinite;
}
.orbit-ring:nth-child(3) {
inset: 8px;
border-top-color: #2ecc8a;
animation-duration: 0.7s;
animation-direction: reverse;
}
@keyframes orbit {
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: reduce) {
.orbit-wrap,
.orbit-wrap * {
animation: none !important;
}
}