Nescio Nescio - 8 months ago 79
CSS Question

How can I overlay a number on top of a FontAwesome glyph?

How can I overlay a number between 0 and 99 in the middle of 'icon-star-empty'?


You css should look something like:

  height:100px; width:100px;
  text-align:center; position:absolute;

Your HTML might look like:

<div class='contain-i-e-s'>
  <i class='icon-empty-star'></i>
  <div class='text-i-e-s'>99</div>