You can use progress bars to display metrics, show how long will it take to download a file, or provide real-time feedback on a background process. You can use these four progress bar examples directly in your projects, or tweak them to your liking.

1. Discrete Progress Bar

This modern, discrete progress bar uses CSS keyframe animation to add a progressive effect to a section of your website. The example uses an infinite animation property, so the discrete bars will animate and repeat forever. You can display this progress bar while something is happening in the background, it ultimately helps to improve the UX of a website

HTML Code

CSS Code

2. Pure HTML and CSS Step Progress Bar

This example uses step-based percentages to fill the progress bar. A CSS selector specifies the color of the progress bar for each percentage value. You can tweak the colors by modifying the background-color property for each step (#five:checked, #twentyfive:checked, and so on). You can also remove or include new steps according to your requirements, just make sure to change the width property of the steps accordingly.

HTML Code

CSS Code

3. Circular Minimalist Progressive Bars

If you want to create circular progress bars, these minimalist animated examples could be one of your best options. Circular progress bars are mostly used in personal, business, and data-visualization heavy websites. Play around with the code and make the changes to fit your requirements. You can change the length of the bar by modifying the stroke-dashoffset CSS property.

HTML Code

CSS Code

4. CSS Skill Progress Bar

If you want to create a simple progress bar with percentages, this one might be suitable. You can change the height of the progress bar by modifying the height property of the .skill-bar and .skill:before classes. You can change the length by modifying the width property of the classes (.skill1, .skill2, .skill3).

HTML Code

CSS Code

Learn Incredible CSS Tricks

Using these CSS techniques, you can create attractive, reusable progressive bars. But you can do much more with CSS. CSS provides many features to manipulate images, make text and images responsive, handle overflow, and so on.