Typography is a feature of Bootstrap for styling and formatting the text content. It is used to create customized headings, inline subheadings, lists, paragraphs, aligning, adding more design-oriented font styles, and much more. Bootstrap support global settings for the font stack, Headings and Link styles to be used in the web app for every type of OS and Device to deliver the best user interface.
Typography can be used to create:
Text and Paragraph font color, font type, and alignment
Other inline elements
Some classes and Tags to implement the typography feature of bootstrap:
h1 – h6: To match the font styling of a heading but cannot use the associated HTML element.
text-muted: It is used for text color, text-muted fades the text. i.e. text greyed out.
display: It is used to create better headings.
lead: It is used to make a paragraph stand out i.e. Visually better.
mark: It is used to highlight the text.
small: It is used to create secondary subheadings.
initialism: It is used to render abbreviations in slightly small text size.
blockquote: It is used to quote content.
blockquote-footer: It is the footer details for identifying the source of the Quote.
text-center: It is used to align the text to the center.
list-inline: It is used to make the element of the list inline.
text-truncate: It is used to shorten the longer text by truncating with an ellipsis.
text-uppercase: It is used to transform text to uppercase.
text-lowercase: It is used to transform text to lowercase.
text-capitalize: It is used to transform text to capitalize the first letter of each word leaving other letters in lowercase.
pre-scrollable: Makes a <pre> element scrollable
dl-horizontal: Lines up the terms(<dt>) and descriptions (<dd>) elements side-by-side.
list-unstyled: the default list-style and left margin on list items are removed.
Please Login to comment...