title: How do I display the :after content inline with the parent element?
body: <p>I created an <code>:after</code> line below an element. I am trying to figure out how I can place the <code>content: 'or'</code> in the middle of the line. Right now I can just get the <code>content: 'or'</code> under the background line.</p>
  
  <p>Anyone know how I can accomplish this?</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>.expanded-info {
    display: block;
    margin: 8px auto;
    text-align: center;
  }
  #expanded-phone:after {
    width: 40%;
    margin: 20px auto 20px auto;
    display: block;
    content: 'or';
    height: 3px;
    background: #ccc;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span class="expanded-info" id="expanded-phone"&gt;Give us a call&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>