YouTip LogoYouTip

Bootstrap4 Progressbars

# Bootstrap4 Progress Bars !(#) Progress bars can show the completion process of a user's task. The steps to create a basic progress bar are as follows: * Add a `
` with the class **.progress**. * Then, inside the above `
`, add an empty `
` with the class **.progress-bar**. * Add a `style` attribute with a percentage width, for example, `style="width:70%"` indicates the progress bar is at **70%**. ## Example
[Try it Β»](#) * * * ## Progress Bar Height The default height of a progress bar is 16px. We can modify it using the CSS `height` property: ## Example
[Try it Β»](#) * * * ## Progress Bar Labels You can add text inside the progress bar, such as the percentage of progress: ## Example
70%
[Try it Β»](#) * * * ## Progress Bars with Different Colors By default, progress bars are blue. Bootstrap4 also provides progress bars in the following colors: !(#) ## Example
[Try it Β»](#) * * * ## Striped Progress Bars You can use the `.progress-bar-striped` class to create a striped progress bar: ## Example
[Try it Β»](#) * * * ## Animated Progress Bars Use the `.progress-bar-animated` class to add animation to the progress bar: ## Example
[Try it Β»](#) * * * ## Multiple Colors Progress Bar Progress bars can be set with multiple colors: ## Example
Free Space
Warning
Danger
[Try it Β»](#)
← Bootstrap4 DropdownsBootstrap4 Alerts β†’

YouTip © 2024-2026 | Home | Learn Technology, Build Dreams!

All content is for educational and learning purposes only.