About Lesson
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
h1
toh6
. These classes set the font size and margins for headings. - Paragraphs: Bootstrap provides classes to style paragraphs, such as
.lead
for larger, highlighted text. - Text Alignment: You can align text using classes like
.text-left
,.text-center
,.text-right
, and.text-justify
. - Text Transformation: Bootstrap offers classes like
.text-lowercase
,.text-uppercase
, and.text-capitalize
to transform text. - Font Weights and Styles: You can use classes like
.font-weight-bold
and.font-italic
to apply bold and italic styles to text. - Abbreviations and Addresses: Bootstrap provides classes for styling abbreviations and addresses.