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 class="progress-bar progress-bar-warning" style="width: 20%">

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


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

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



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

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