Search
 
SCRIPT & CODE EXAMPLE
 

CSS

bootstrap badge color

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

bootstrap badge

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

bootstrap 3 badge color

// boostrap 3

<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 text-dark">Warning</span>
<span class="badge bg-info text-dark">Info</span>
<span class="badge bg-light text-dark">Light</span>
<span class="badge bg-dark">Dark</span>
Comment

bootstrap Badges

Badges scale to match the size of the immediate parent element by 
using relative font sizing and em units.
<h1>Example heading <span class="badge badge-secondary">New</span></h1>
<h2>Example heading <span class="badge badge-secondary">New</span></h2>
<h3>Example heading <span class="badge badge-secondary">New</span></h3>
<h4>Example heading <span class="badge badge-secondary">New</span></h4>
<h5>Example heading <span class="badge badge-secondary">New</span></h5>
<h6>Example heading <span class="badge badge-secondary">New</span></h6>
<button type="button" class="btn btn-primary">
  Profile <span class="badge badge-light">9</span>
  <span class="sr-only">unread messages</span>
</button>
Comment

bootstrap badge

<button type="button" class="btn btn-primary position-relative">
  Inbox
    <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
    99+
    <span class="visually-hidden">unread messages</span>
   </span>
</button>
Comment

PREVIOUS NEXT
Code Example
Css :: scrollable table vertical 
Css :: grid center 
Css :: css center in grid 
Css :: increase tooltip width in angular material 
Css :: how to add space between menu items in css 
Css :: box shadow to make border bottom 
Css :: css set variable 
Css :: make mat card scrollable 
Css :: font size css 
Css :: ratio bootstrap 
Css :: how to include one css file in another 
Css :: vertical-align table row 
Css :: centred div 
Css :: center div horizontally 
Css :: center a div 
Css :: div align right in css 
Css :: css animation stop at the end 
Css :: improved rendering css 
Css :: css tr border radius 
Css :: input start typing in the center 
Css :: bootstrap scrollable modal 
Css :: how to add space inbetween lines in html 
Css :: css selector to change long bot description top.gg 
Css :: css list style url siz 
Css :: css button:focus border-radius square 
Css :: remove accordion space materuail ui css 
Css :: text area focus css 
Css :: make button stretch to fit text 
Css :: css selector every child except last 
Css :: remove bullets from unordered list in css 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =