Today I lost some time searching why I couldn’t get the Bootstrap Progress bar working.
The problem is that the sample on the Bootstrap site(http://getbootstrap.com/) isn’t up-to-date for the latest Bootstrap version(Bootstrap 3.3.1). Here is the sample code as of today:
Instead the correct code should look like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="progress progress-striped active"> | |
<div class="progress-bar" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%"> | |
<span class="sr-only">45% Complete</span> | |
</div> | |
</div> |