Last active
May 14, 2018 17:14
-
-
Save VhMuzini/fbc2dc3378b1310b2a92577f444e7dd0 to your computer and use it in GitHub Desktop.
Progress Bar with Label behind the actual "bar" using bootstrap
This file contains hidden or 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" style="height: 20px;"> | |
<div class="progress-bar progress-bar-stripped" role="progressbar" | |
aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 50%"> | |
<span>30%</span> | |
</div> | |
</div> |
This file contains hidden or 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
.progress { | |
position:relative; | |
} | |
.progress strong { | |
position:absolute; | |
left:0; | |
width:100%; | |
text-align:center; | |
z-index:2; | |
color:black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment