Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html ng-app="ui.bootstrap.demo">
  <head>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular-animate.js"></script>
    <script src="//angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.14.3.js"></script>
    <script src="app.js"></script>
    
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
  <style>
        .progress {
          position: relative;
        }
    
    .progress span {
        position: absolute;
        display: block;
        width: 100%;
        color: black;
     }
  </style>
  
  </head>
  <body>
    
    <h3>Progress Bar text align center</h3>
   
    <uib-progressbar max="100" value="30" class="progress"><span style="color:black; white-space:nowrap;">30/ 100</span></uib-progressbar>
   
  </body>
</html>
 
angular.module('ui.bootstrap.demo', ['ngAnimate', 'ui.bootstrap']);
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
upasanaapro
0viewers