0 points

How to use numbers on icons with FontAwesome | Our Code World


dashboard

Sat Jun 06 2020 08:21:09 GMT+0000 (UTC)

Posted by @Hamza #html

<!-- Create an icon wrapped by the fa-stack class -->
<span class="fa-stack">
    <!-- The icon that will wrap the number -->
    <span class="fa fa-circle-o fa-stack-2x"></span>
    <!-- a strong element with the custom content, in this case a number -->
    <strong class="fa-stack-1x">
        2    
    </strong>
</span>
content_copy Copy

chrome-extension://annlhfjgbkfmbbejkbdpgbmpbcjnehbb/images/saveicon.png