Game-style progress bar with animated fill and glowing effects. Perfect for showing quest completion, skill levels, or loading progress.
<div class="progress-quest">
<div class="quest-bar"></div>
</div>
.progress-quest {
width: 200px;
height: 30px;
background: rgba(0, 0, 0, 0.2);
border-radius: 15px;
overflow: hidden;
border: 2px solid #667eea;
}
.quest-bar {
height: 100%;
background: linear-gradient(90deg, #667eea, #764ba2);
border-radius: 15px;
animation: questProgress 3s ease-in-out infinite;
box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
position: relative;
}
.quest-bar::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 50%;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
border-radius: 15px 15px 0 0;
}
@keyframes questProgress {
0%, 100% {
width: 20%;
}
50% {
width: 80%;
}
}