Categories

Oct 7, 2019 in Bootstrap
Q: What will be the output of the below code and why?

<div class="progress">

<div class="progress-bar progress-bar-success" style="width: 65%">

<span class="sr-only">75% successfully completed</span>

</div>

<div class="progress-bar progress-bar-warning" style="width: 20%">

<span class="sr-only">30% completed with warnings</span>

</div>

<div class="progress-bar progress-bar-danger" style="width: 15%">

<span class="sr-only">15% did not complete</span>

</div>

</div>

1 Answer

Oct 10, 2019

If we place multiple bars with the same .progress parent element, Bootstrap will pile them into one single progress bar. As we know, in bootstrap the sum of the progress bar is 100 %. So, the progress bar will give the result as full width and fully populated.

Click here to read more about Bootstrap
Click here to read more about Insurance

Related questions

Madanswer
Jul 28, 2019 in R Language
Jan 21 in ECMAScript
Feb 8 in JAVA
...