Bootstrap Badge

Badges are the numerical indicators of how many items are associated with its respective link.

Badge
<div class="container">
    <a href="#">Notifications <span class="badge">10</span></a>
</div>

Badge in Button
<div class="container">
    <h3>Badge in button</h3>
    <button type="button" class="btn btn-primary">Button <span class="badge">7</span></button>
</div>

Share this

Related Posts