title: Make my h2 border bottom just underline the text not the div
body: <p>I want to make the border-bottom of my h2:after to fill the text not the div.
  Here's my code:</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>.text_box{
     margin: 0 auto;
     width: 355px;
     background:red;
  }
  
  h2{
     margin: 0 auto;
     font-weight: 100;
     font-size: 1em;
     text-align: center;
     padding:20px;
  }
  
  h2:after{
     content:'';
     background:black;
      width:100%;
      height:2px;
      display:block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
    &lt;head&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="text_box"&gt;
      &lt;h2&gt;NEWS &amp; ACCOLADES&lt;/h2&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>JSFiddle: <a href="http://codepen.io/rezasan/pen/YNZQEQ" rel="nofollow noreferrer">http://codepen.io/rezasan/pen/YNZQEQ</a></p>