I'm looking to create a stacked progress bar with different colors, similar to the example shown under "multiple bars" on this website: https://getbootstrap.com/docs/4.0/components/progress/
I've experimented with various code options, but all of them result in a stacked progress bar with all bars appearing blue. Here is one attempt I made:
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 15%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bg-success" role="progressbar" style="width: 30%" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar bg-info" role="progressbar" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
</div>
Even though there are no error messages, I'm not able to achieve the desired effect of having three distinct colors for each bar. Is the following CSS link not enough?:
I would greatly appreciate any assistance as I am still learning :)