title: How to make a price display within a circle with CSS?
body: <p>I have this 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>.special-price {
    text-align: center;
    background-color: #2e566e;
  }
  
  .special-price .offer {
    border-radius: 50%;
    background-color: #56c243;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    height: 150px;
    width: 150px;
    display: inline-block;
    text-align: center;
    border: 1px solid;
  }
  
  .offer .symbol {
    vertical-align: top;
  }
  
  .offer .dollars {
    font-size: 60px;
  }
  
  .offer .cents {
    vertical-align: top;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row"&gt;
    &lt;div class="special-price col-xs-12 col-md-8 col-md-offset-2"&gt;
      &lt;div class="general-comparison clearfix"&gt;
        &lt;div class="offer"&gt;
          &lt;sup class="symbol"&gt;$&lt;/sup&gt;&lt;span class="dollars"&gt;34&lt;/span&gt;&lt;sup class="cents"&gt;.99&lt;/sup&gt;&lt;span class="tax"&gt;+ TAX&lt;/span&gt;
        &lt;/div&gt;
        &lt;!-- end .general-comparison --&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>Question/Issue</strong></p>
  
  <ol>
  <li>Why is the dollar sign going outside the circle?</li>
  <li>I have set the parent container's <code>text-align:center</code> so why is the child element <code>offer</code> not centered within the parent element <code>special-price</code>?</li>
  </ol>
  
  <p>I am open to other suggestions, I just want this to look nice but unfortunately I am not a designer.</p>
  
  <p>Here is the <a href="https://jsfiddle.net/vw5nw7jk/" rel="nofollow noreferrer">JSFiddle</a> in case you want to see a demo.</p>