title: Font-Awesome Circle with a Number and Shadow
body: <p>How can I use <a href="http://fontawesome.io/" rel="nofollow noreferrer">font awesome</a> to create a circle with a number in it that has a border and a <strong>shadow</strong>?  The typical answer I've found for a circle with a number and a border produces an square shadow not a circle shadow (at least the way I'm trying to do it).</p>
  
  <p>I found a solution for creating a circle with a shadow but it is not working for #'s.  It is producing an oval, not a circle.</p>
  
  <p><a href="https://i.stack.imgur.com/a8Ql6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a8Ql6.png" alt="enter image description here"></a></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>#blah {
    box-shadow: 0 1px 10px rgba(255, 0, 0, 0.46);
  }
  
  .icon-wrapper {
    display: inline-block;
  }
  
  .page-number-core {
    border: 3px solid #fff;
    padding: 10px;
    -webkit-border-radius: 1100%;
    -moz-border-radius: 100%;
    -o-border-radius: 100%;
    border-radius: 100%;
    box-shadow: 0 1px 10px rgba(255, 0, 0, 0.46);
    text-align: center;
    display: table-cell;
    vertical-align: middle;
  }
  
  .fix-editor {
    display: none;
  }
  
  .bold {
    font-weight: bold;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
    &lt;link data-require="font-awesome@*" data-semver="4.5.0" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css" /&gt;
    &lt;link rel="stylesheet" href="style.css" /&gt;
    &lt;script src="script.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div class='bold'&gt;Incorrect shadow&lt;/div&gt;
    &lt;/br&gt;
    &lt;div&gt;
      &lt;span class="fa-stack fa-3x"&gt;
          &lt;i id='blah' class="fa fa-circle-o fa-stack-2x"&gt;&lt;/i&gt;
          &lt;strong class="fa-stack-1x"&gt;1&lt;/strong&gt;
        &lt;/span&gt;
    &lt;/div&gt;
    &lt;/br&gt;
    &lt;div class='bold'&gt;Produces an Oval - Not a Circle&lt;/div&gt;
    &lt;/br&gt;
    &lt;div class="icon-wrapper"&gt;
      &lt;i class="fa page-number-core page-number-dark"&gt;
              &lt;span class="page-number-text page-number-text-light"&gt;1&lt;/span&gt;
          &lt;/i&gt;
    &lt;/div&gt;
    &lt;br/&gt;&lt;br/&gt;
    &lt;div class='bold'&gt;Produces an Circle with Shadow but not for a #&lt;/div&gt;
    &lt;/br&gt;
    &lt;div class="icon-wrapper"&gt;
      &lt;i class="fa fa-comment page-number-core page-number-dark"&gt;
              &lt;span class="page-number-text page-number-text-light fix-editor"&gt;&amp;nbsp;&lt;/span&gt;
          &lt;/i&gt;
    &lt;/div&gt;
    &lt;/br&gt;
    &lt;div&gt;
      &lt;a href="http://codepen.io/Onomicon/pen/iDfld"&gt;Source of Circle with Shadow&lt;/a&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>