Linchakin

1st Nov - Typography in Bootstrap 4

 November 01, 2021     No comments   

In this article, we will understand about the typography in Bootstrap 4.

What do you mean by Typography in Bootstrap 4.

In Bootstrap 4, Typography is a feature 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.

Following classes and tags are used to implement the typography feature in bootstrap 4:

1. text-muted: This class is used for color the text and adds text-muted fades in the text.

Example:

Explanation:

In the above example, we have created an example of text-muted class.

Output:

Following is the output of this example:

Typography in Bootstrap 4

2. display: This class is used to create better headings in bootstrap 4.

Example:

Explanation:

In the above example, we have created a display class.

Output:

Following is the output of this example:

Typography in Bootstrap 4

3. lead: It is used to make a paragraph stand out i.e. Visually better.

Example:

Explanation:

In the above example, we have created an example of lead class in Bootstrap 4.

Output:

Following is the output of this example:

Typography in Bootstrap 4

4. mark: This tag is used to highlight the text.

Example:

Explanation:

In the above example, we have created an example of mark tag in typography.

Output:

Following is the output of this example:

Typography in Bootstrap 4

5. small: This tag is used to create secondary subheadings.

Example:

Explanation:

In the above example, we have created an example of a small tag in bootstrap 4.

Output:

Following is the output of this example.

Typography in Bootstrap 4

6. initialism: It is used to render abbreviations in slightly small text sizes.

Example:

Explanation:

In the above example, we have created an example of an initialism class with an abbr tag.

Output:

Following is the output of this example:

Typography in Bootstrap 4

7. blockquote: This tag is used to quote content.

Example:

Explanation:

In the above example, we have created an example of a blockquote tag.

Output:

Following is the output of this example:

Typography in Bootstrap 4

8. blockquote-footer: It is the footer details for identifying the source of the Quote.

Example:

Explanation:

In the above example, we have created an example of blockquote footer class.

Output:

Following is the output of this example:

Typography in Bootstrap 4

9. text-center: This class is used to align the text to center.

Example:

Explanation:

In the above example, we have created an example of text-centre class.

Output:

Following is the output of this example:

Typography in Bootstrap 4

10. text-truncate: This class is used to shorten the longer text by truncating with ellipsis.

Example:

Explanation:

In the above example, we have created an example of text-truncate class.

Output:

Following is the output of this example:

Typography in Bootstrap 4

11. text-uppercase: This class is used to transform text to uppercase.

Example:

Explanation:

In the above example, we have created an example of text-uppercase.

Output:

Following is the output of this example:

12. text-lowercase: This class is used to transform text to lowercase.

Example:

Explanation:

In the above example, we have created an example of text-lowercase class.

Output:

Following is the output of this example:

Typography in Bootstrap 4

13. text-capitalize: It is used to transform text to capitalize the first letter of each word leaving other letters in lowercase.

Example:

Explanation:

In the above example, we have created an example of text-capitalize.

Output:

Following is the output of this example:

Typography in Bootstrap 4
Next Topic#

Adblock test (Why?)


You may be interested in:
>> Is a Chromebook worth replacing a Windows laptop?
>> Find out in detail the outstanding features of Google Pixel 4a
>> Top 7 best earbuds you should not miss

Related Posts:
>> Recognizing 12 Basic Body Shapes To Choose Better Clothes
>>Ranking the 10 most used smart technology devices
>> Top 5+ Best E-readers: Compact & Convenient Pen
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 Comments:

Post a Comment


Copyright © Linchakin | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates