Badge
Basic
Pill
More colors
Sizing
Dot badges
Ring badges
.badge-ring
applies to .badge.
Border utilities
Border classes
You can add solid borders to an element using following classes. You're able to change the border color using border color utility classes.
The classes follows b{side}-{size} format, where {size}
is one of 0
, 1
, 2
, or 3
values. Also, {side}
is one of:
t
: Border topb
: Border bottoml
: Border leftr
: Border rightx
: Border left and righty
: Border top and bottom- null: All sides
<div class="b-1"></div>
<div class="bx-2"></div>
<div class="by-3"></div>
<div class="bl-3 border-primary"></div>
<div class="br-2 border-purple"></div>
<div class="bt-1 border-danger"></div>
<div class="bb-1 border-info"></div>
Following table demonstrates available classes for 1px border.
Class name | Description |
---|---|
.bt-1 |
border-top: 1px solid ... |
.bb-1 |
border-bottom: 1px solid ... |
.bl-1 |
border-left: 1px solid ... |
.br-1 |
border-right: 1px solid ... |
.bx-1 |
border-left: 1px solid ... border-right: 1px solid ... |
.by-1 |
border-top: 1px solid ... border-bottom: 1px solid ... |
.b-1 |
border: 1px solid ... |
Progress Bars
Progress Bars Different Sizes
.progress
Class: .sm
Class: .xs
Class: .xxs
Progress bars
The striped gradient can also be animated. Add .progress-bar-animated
to .progress-bar
to animate the stripes right to left via CSS3 animations.
Vertical Progress Bars Different Sizes
By adding the class .vertical
and .progress-sm
, .progress-xs
or
.progress-xxs
we achieve:
Vertical Progress bars
By adding the class .vertical
we achieve:
Range Sliders
Bootstrap Range Slider
data-slider-id="danger"
data-slider-id="info"
data-slider-id="success"
data-slider-id="warning"
data-slider-id="secondary"
data-slider-id="primary"
Carousel Slider
Carousel Slider Only Slide
Carousel Slider with Controls
Carousel Slider with Indicators
Carousel Slider With captions
Typography
Headlines
h1. Bootstrap heading
h2. Bootstrap heading
h3. Bootstrap heading
h4. Bootstrap heading
h5. Bootstrap heading
h6. Bootstrap heading
Heading with subtitle
h1. heading Sub-heading
h2. heading Sub-heading
h3. heading Sub-heading
h4. heading Sub-heading
h5. heading Sub-heading
h6. heading Sub-heading
Text Emphasis
Lead to emphasize importance
Text success to emphasize success
Text info to emphasize info
Text primary to emphasize primary
Text secondary to emphasize secondary
Text danger to emphasize danger
Text warning to emphasize warning
Text muted to emphasize general
Text dark to emphasize dark
Alignment text
Left aligned text on all viewport sizes.
Center aligned text on all viewport sizes.
Right aligned text on all viewport sizes.
Font weight and italics
Bold text.
Normal weight text.
Italic text.
Block Quotes
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Block Quotes Pulled Right
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Unordered List
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Ordered Lists
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Unstyled List
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Description
- Description lists
- A description list is perfect for defining terms.
- Euismod
- Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
- Donec id elit non mi porta gravida at eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
Description Horizontal
- Description lists
- A description list is perfect for defining terms.
- Euismod
- Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
- Donec id elit non mi porta gravida at eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
- Felis euismod semper eget lacinia
- Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.