Calendar
Update your profile details
My Notes
Update your profile details
  • It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.
  • Contrary to popular belief, Lorem Ipsum is not simply random text.
My Task List
Update your profile details
My Github Activity
puffintheme
  1. comments Lorem Ipsum is simply dummy text of the printing and typesetting industry.

  2. comments Lorem Ipsum is simply dummy text of the printing and typesetting industry.

  3. BOOM!

Badges
Get started Documentation with Bootstrap
Basic Example

Badges scale to match the size of the immediate parent element by using relative font sizing and em units.

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New
<h1>Example heading <span class="badge bg-secondary">New</span></h1>
<h2>Example heading <span class="badge bg-secondary">New</span></h2>
<h3>Example heading <span class="badge bg-secondary">New</span></h3>
<h4>Example heading <span class="badge bg-secondary">New</span></h4>
<h5>Example heading <span class="badge bg-secondary">New</span></h5>
<h6>Example heading <span class="badge bg-secondary">New</span></h6>
                                        

Badges can be used as part of links or buttons to provide a counter.


<button type="button" class="btn btn-primary">
    Notifications <span class="badge bg-light text-dark">4</span>
</button>
                                
Contextual variations

Add any of the below mentioned modifier classes to change the appearance of a badge.

Primary Secondary Success Danger Warning Info Light Dark
<span class="badge bg-primary">Primary</span>
<span class="badge bg-secondary">Secondary</span>
<span class="badge bg-success">Success</span>
<span class="badge bg-danger">Danger</span>
<span class="badge bg-warning">Warning</span>
<span class="badge bg-info">Info</span>
<span class="badge bg-light text-dark">Light</span>
<span class="badge bg-dark">Dark</span>
                                
Pill badges

Use the .bg-pill modifier class to make badges more rounded (with a larger border-radius and additional horizontal padding). Useful if you miss the badges from v3.

Primary Secondary Success Danger Warning Info Light Dark
<span class="badge bg-pill bg-primary">Primary</span>
<span class="badge bg-pill bg-secondary">Secondary</span>
<span class="badge bg-pill bg-success">Success</span>
<span class="badge bg-pill bg-danger">Danger</span>
<span class="badge bg-pill bg-warning">Warning</span>
<span class="badge bg-pill bg-info">Info</span>
<span class="badge bg-pill bg-light text-dark">Light</span>
<span class="badge bg-pill bg-dark">Dark</span>
                                
Links

Using the contextual .bg-* classes on an <a> element quickly provide actionable badges with hover and focus states.

Primary Secondary Success Danger Warning Info Light Dark
<a href="#" class="badge bg-primary">Primary</a>
<a href="#" class="badge bg-secondary">Secondary</a>
<a href="#" class="badge bg-success">Success</a>
<a href="#" class="badge bg-danger">Danger</a>
<a href="#" class="badge bg-warning">Warning</a>
<a href="#" class="badge bg-info">Info</a>
<a href="#" class="badge bg-light text-dark">Light</a>
<a href="#" class="badge bg-dark">Dark</a>