Explain me how will you create a stacked progress bar using bootstrap?
Answer Posted / Areena Asraf
To create a stacked progress bar in Bootstrap, you can use the Progress component and specify the `height` option to make it stacked. Here's an example:
```
<div class="progress-stacked">
<div class="progress">
<div id="progressBar1" class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="height: 30px;">
70%
</div>
</div>
<div class="progress">
<div id="progressBar2" class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="height: 30px;">
30%
</div>
</div>
</div>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers