title: CSS Line after h2
body: <p>I need to be able to add a line after an h2 tag which is responsive the titles will be different lengths. Wondering if this is possible via CSS?</p>
  <p>Here's my current code:</p>
  <pre><code>h2:after { 
    border-top: 1px solid #333; 
    content: &quot;&quot;; 
    margin: 0px auto; 
    position: absolute; 
    top: 50%; 
    left: 0px; 
    right: 0px; 
    bottom: 0px; 
    width: 95%; 
    z-index: -1; 
  }
  </code></pre>