Bootstrap Cheatsheet
3 min read
Quick reference table of the most-used Bootstrap 5 utilities by category.
Quick Reference
| Category | Common Classes |
|---|
| Grid | container, row, col, col-md-6, g-3, offset-3 |
| Display | d-none, d-flex, d-block, d-md-block |
| Flex | justify-content-center, align-items-center, gap-3 |
| Spacing | m-0..5, p-0..5, mx-auto, mt-4, px-3 |
| Text | text-center, fw-bold, text-muted, fs-1..6 |
| Colors | bg-primary, text-success, bg-opacity-25 |
| Borders | border, rounded, rounded-pill, rounded-circle |
| Size | w-25, w-50, w-100, h-100, mw-100 |