top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to create a progress bar using bootstrap?

0 votes
457 views
How to create a progress bar using bootstrap?
posted Jul 4, 2017 by Biswajit Maity

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Progress bars can be used for showing the progress of a task or action to the users. Bootstrap provides several types of progress bars. To create a basic progress bar −
Add a <div> with a class of .progress.

Next, inside the above <div>, add an empty <div> with a class of .progress-bar.

Add a style attribute with the width expressed as a percentage. Say for example, style = "60%"; indicates that the progress bar was at 60%.

Example

<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="60"
  aria-valuemin="0" aria-valuemax="100" style="width:60%">
  </div>
</div>

Preview

enter image description here

answer Jul 4, 2017 by Surajit Pal
...