Loaders
Pulse Loader
A small CSS-only loading indicator for compact interface states.
CSS-onlyavailableBeginner
loadercssmotion
Author: Prism Bits
Live iframe preview
<div class="pulse-loader" role="status" aria-label="Loading">
<span></span>
<span></span>
<span></span>
</div>
<style>
.pulse-loader {
display: flex;
align-items: center;
gap: 10px;
}
.pulse-loader span {
width: 12px;
height: 12px;
border-radius: 50%;
background: linear-gradient(135deg, #a78bfa, #67e8f9);
animation: pulse-loader-bounce 1.2s ease-in-out infinite;
}
.pulse-loader span:nth-child(2) {
animation-delay: 0.15s;
}
.pulse-loader span:nth-child(3) {
animation-delay: 0.3s;
}
@keyframes pulse-loader-bounce {
0%,
60%,
100% {
transform: scale(1);
opacity: 0.45;
}
30% {
transform: scale(1.55);
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulse-loader span {
animation: pulse-loader-fade 1.6s ease-in-out infinite;
}
@keyframes pulse-loader-fade {
0%,
100% {
opacity: 0.45;
}
50% {
opacity: 1;
}
}
}
</style>