A futuristic glowing animation loader
<div class="neon-loader">
<div class="neon-loader-ring"></div>
</div>
.neon-loader {
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
}
.neon-loader-ring {
position: relative;
width: 80px;
height: 80px;
border-radius: 50%;
border: 4px solid transparent;
border-top: 4px solid #0ff;
animation: neon-spin 1s linear infinite;
}
.neon-loader-ring::before {
content: '';
position: absolute;
top: -4px;
left: -4px;
right: -4px;
bottom: -4px;
border-radius: 50%;
border: 4px solid transparent;
border-top: 4px solid #0ff;
filter: blur(5px);
opacity: 0.7;
animation: neon-glow 1.5s ease-in-out infinite;
}
@keyframes neon-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes neon-glow {
0%, 100% {
filter: blur(5px);
opacity: 0.7;
}
50% {
filter: blur(10px);
opacity: 1;
}
}