Introduction:
Bootstrap, a popular front-end framework for building responsive and mobile-first websites, includes various typography classes to help you easily style text content. Here are some key typography classes provided by Bootstrap:
- Headings: Bootstrap offers heading classes from
h1toh6. These classes set the font size and margins for headings.
- Headings: Bootstrap offers heading classes from
- Paragraphs: Bootstrap provides classes to style paragraphs, such as
.leadfor larger, highlighted text.
- Paragraphs: Bootstrap provides classes to style paragraphs, such as
- Text Alignment: You can align text using classes like
.text-start,.text-center, and.text-end.
- Text Alignment: You can align text using classes like
- Text Transformation: Bootstrap offers classes like
.text-lowercase,.text-uppercase, and.text-capitalizeto transform text.
- Text Transformation: Bootstrap offers classes like
- Font Weights and Styles: You can use classes like
.fw-boldand.fst-italicto apply bold and italic styles to text.
- Font Weights and Styles: You can use classes like