Alert messages
alert |
alert-* (primary, secondary, success, info, warning, dark, light, link) |
alert-dismissible |
alert-link |
btn-close |
Breadcrumbs
breadcrumb |
breadcrumb-item |
active |
Buttons
btn |
btn-* (primary, secondary, success, info, warning, dark, light, link) |
btn-outline-* (primary, secondary, success, info, warning, danger, dark, light) |
Button Modifiers
btn-lg |
btn-sm |
btn-group |
btn-toolbar |
btn-group-* (lg, sm) |
btn-group-vertical |
d-grid |
Cards
card |
card-img-top |
card-img-bottom |
card-body |
card-title |
card-subtitle |
card-text |
card-link |
Carousel
carousel |
slide |
carousel-fade |
carousel-inner |
carousel-item |
carousel-item active |
carousel-caption |
carousel-control-prev |
carousel-control-prev-icon |
carousel-control-next |
carousel-control-next-icon |
carousel-indicators |
|
|
Colour/Context
text-* (primary, secondary, success, danger, warning, info, light, dark, body, muted, white) |
bg-* OR text-bg-* (primary, secondary, success, danger, warning, info, light, dark, white, transparent) |
border OR border-* (top, end, bottom, start) |
border-* (primary, secondary, success, danger, warning, info, light, dark, white) |
Display/Position
float-start |
float-end |
d-block |
d-inline |
d-none |
Dropdowns
dropdown |
dropdown-toggle |
dropdown-menu |
dropdown-item |
dropdown-item disabled |
dropdown-header |
dropdown-divider |
dropup |
Forms
form-label |
form-control |
form-check |
form-check-label |
form-check-input |
form-control-sm |
form-control-lg |
form-select |
col-form-label |
Grid
container |
container-fluid |
row |
col |
col-# (< 576px) |
col-sm-# (>= 576px) |
col-md-# (>= 768px) |
col-lg-# (>= 992px) |
col-xl-# (>= 1200px) |
col-xxl-# (>= 1400px |
|
|
Images
img-fluid |
rounded |
rounded-* (top, end, bottom, start, circle) |
img-thumbnail |
List groups
list-group |
list-group-numbered |
list-group-item |
active |
disabled |
Navs
nav |
nav-item |
nav-link |
nav-link active |
nav-link disabled |
nav-pills |
nav-tabs |
Nav alignment
nav-fill |
justify-content-center |
justify-content-end |
flex-column |
Navbar
navbar |
navbar-expand-* (sm, md, lg, xl,xxl) |
navbar-nav |
navbar-brand |
navbar-text |
collapse |
navbar-collapse |
navbar-toggler |
navbar-toggler-icon |
fixed-top |
fixed-bottom |
Navbar (attributes for JavaScript plugins)
data-bs-toggle="collapse" |
data-bs-target="#*" (* - ID of collapsable content) |
data-bs-theme="dark" |
|
|
Shadows
shadow-none |
shadow-sm |
shadow |
shadow-lg |
Spacing
{property}{sides}-{breakpoint}-{size} |
property: m, p |
sides: t, b, s, e, x, y, blank |
breakpoint: sm, md, lg, xl, xxl |
size: 0, 1, 2, 3, 4, 5, auto |
size for negative margins: n1, n2, n3, n4, n5 |
Tables
table |
table-striped |
table-bordered |
table-hover |
table-responsive |
table-(*) (primary, secondary, success, danger, warning, info, light, dark) *Can be applied to table, tr, td, & th |
w-* (* Indicate size in rems) |
Typography
h1, h2, h3, h4, h5, h6 |
display-# (1-6) |
lead |
blockquote |
blockquote-footer |
list-unstyled |
list-inline |
list-inline-item |
Utility Classes
text-* (start, end, center) |
text-lowercase |
text-uppercase |
text-capitalize |
fw-bold |
fw-normal |
fst-italic |
fst-normal |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets