title: Centering text in a progress bar
body: <p>I would like the label in the progress bar centered in the grey bar (100%) and not centered in the green bar.</p>
  
  <p>Here is what I tried so far:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#progressbar {
    text-align: center;
    background-color: lightgrey;
    padding: 3px;
  }
  
  #progressbar&gt;div {
    background-color: #B3D8A9;
    height: 20px;
  }
  
  .progress-label {
    font-size: .9em;
    positsion: absolute;
  
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="progressbar"&gt;
     &lt;div style="width:75%;"&gt;
        &lt;p class="progress-label"&gt;&lt;strong&gt;75%&lt;/strong&gt;&lt;/p&gt;
     &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any help would be appreciated.</p>