Quick styling without writing custom CSS! These utility classes cover the most common styling needs.
Format: {property}{sides}-{size} where property is m (margin) or p (padding), sides is t/b/s/e/x/y, size is 0-5.
text-primary - Blue text
text-secondary - Gray text
text-success - Green text
text-danger - Red text
text-warning - Yellow text
text-info - Cyan text
text-muted - Muted text
text-body - Default body color
Resize your browser to see elements appear/disappear!
flex-row (default):
flex-column:
text-start (left aligned)
text-center (centered)
text-end (right aligned)
fw-bold (bold text)
fw-semibold (semi-bold)
fw-normal (normal weight)
fw-light (light weight)
fst-italic (italic text)
TEXT-LOWERCASE (lowercase)
text-uppercase (uppercase)
text capitalize (capitalize)
fs-1 (largest)
fs-3 (medium)
fs-5 (smaller)
fs-6 (smallest)
position-static - Default positioningposition-relative - Relative to normal positionposition-absolute - Relative to positioned parentposition-fixed - Fixed to viewportposition-sticky - Sticky positioningfixed-top - Fixed to top of viewportfixed-bottom - Fixed to bottom of viewportsticky-top - Sticky at top when scrolling