Bootstrap Progress
Bootstrap provides the progress
class to create progress bars on your website. With progress bars, you can show the status of a process or task, give feedback to the user, or indicate the completion percentage of a task.
Syntax
To create a progress bar in Bootstrap, you need to use the following syntax:
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
</div>
The width
attribute sets the width of the progress bar, and the aria-valuenow
, aria-valuemin
, and aria-valuemax
attributes specify the current, minimum, and maximum values of the progress bar. You can set these attributes to values that are relevant to your progress bar.