Now please consider the HTML code snippet below. What will the output be, and why?
<div class="progress">
<div class="progress-bar progress-bar-success" style="width: 65%">
<span class="sr-only">65% sucesfuly completed</span>
</div>
<div class="progress-bar progress-bar-warning" style="width: 20%">
<span class="sr-only">20% 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>
Submitted by: MuhammadBy placing multiple bars under the same .progress parent element, Bootstrap will stack them into one single progress bar. Since the sum of the progress bar is 100%, the progress bar will be full width and fully populated.
Submitted by: Muhammad
Submitted by: Muhammad
Read Online Bootstrap Job Interview Questions And Answers
Top Bootstrap Questions
☺ | Do you know what is Bootstrap well? |
☺ | Do you know what is Bootstrap Jumbotron? |
☺ | What is Fluid Layout in Bootstrap? |
☺ | What is button group in Bootstrap? |
☺ | Tell me what is Bootstrap collapsing elements? |
Top Web Developer Categories
☺ | Bootstrap Interview Questions. |
☺ | Front End Web Developer Interview Questions. |
☺ | Typography Interview Questions. |
☺ | Laravel PHP Developer Interview Questions. |
☺ | Junior Developer PHP Interview Questions. |