title: Aligning ::before and ::after pseudo elements
body: <p>Can anyone explain me what I am doing wrong in this example? I am trying to create div which has lines on both sides.</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>.bottom-logo {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: orange;
    margin: 0 auto;
    position: relative;
  }
  
  .bottom-logo::before {
    content: "";
    margin-right: 50px;
    margin-top: 20px;
    border-bottom: 4px solid black;
    display: inline-block;
    width: 100px;
    float: right;
  }
  
  .bottom-logo::after {
    content: "";
    display: inline-block;
    border-bottom: 4px solid black;
    width: 100px;
    margin-left: 50px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="bottom-logo"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>