A worked example, rendered from real sample data. Sign in to run the tool on your own input.
accent=#6366f1 end=#8b5cf6 track=#e5e7eb.progress { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.progress .bar { height: 100%; background: linear-gradient(90deg, #6366f1, #8b5cf6); transition: width 400ms ease; border-radius: inherit; }
.progress.animated .bar { background-image: linear-gradient(90deg, #6366f1, #8b5cf6); background-size: 200% 100%; animation: shimmer 1.5s linear infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: 0 0; } }
Gradient progress bar with animated shimmer — accessible. Part of the DevTools Surf developer suite. Browse more tools in the CSS collection.