Bootstrap Other Typography
Bootstrap provides a variety of typography-related classes that you can use to style your content and make it more appealing.
Syntax
Here are some common typography-related classes in Bootstrap:
lead
: increases the font size and adds extra spacing to create a lead paragraph.display-1
todisplay-4
: increases font size significantly to create headings that grab attention.text-justify
,text-left
,text-right
,text-center
: aligns text as desired.text-lowercase
,text-uppercase
,text-capitalize
: transforms text to lowercase, uppercase, or capitalize as required.font-weight-bold
: makes the text bold.font-italic
: makes the text italic.small
: makes the text small.