"Progress Bars - thin"
Bootstrap 3.1.0 Snippet by msurguy

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-md-4"> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> <span class="sr-only">60% Complete</span> </div> <span class="progress-type">HTML / HTML5</span> <span class="progress-completed">60%</span> </div> <div class="progress"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> <span class="sr-only">40% Complete (success)</span> </div> <span class="progress-type">ASP.Net</span> <span class="progress-completed">40%</span> </div> <div class="progress"> <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> <span class="sr-only">20% Complete (info)</span> </div> <span class="progress-type">Java</span> <span class="progress-completed">20%</span> </div> <div class="progress"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> <span class="sr-only">60% Complete (warning)</span> </div> <span class="progress-type">JavaScript / jQuery</span> <span class="progress-completed">60%</span> </div> <div class="progress"> <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> <span class="sr-only">80% Complete (danger)</span> </div> <span class="progress-type">CSS / CSS3</span> <span class="progress-completed">80%</span> </div> </div> </div> </div>
body { margin: 30px 0px; } .progress { position: relative; height: 16px; } .progress > .progress-type { position: absolute; left: 0px; font-weight: 800; font-size:11px; padding: 0px 30px 0px 5px; color: #FFF; background-color: rgba(25, 25, 25, 0.2); } .progress > .progress-completed { position: absolute; right: 0px; font-weight: 800; color: #000; padding: 0px 10px 1px; } .progress-type { top: 1px } .progress-completed { font-size: 12px }

Related: See More

Questions / Comments:

You should make the following changes: .progress-type { top: 1px } and .progress-completed { font-size: 12px } These are just small cosmetic changes that should help aligning.

mouse0270 () - 4 years ago - Reply 0

Thanks! Updated :)

maxsurguy () - 4 years ago - Reply 0