Course Content
Bootstrap: Building Stylish Websites
1. Understanding Bootstrap
2. Setting Up Environment
4. Advanced Concepts
Bootstrap: Building Stylish Websites
Typography Part 1
Bootstrap provides a set of typography classes for consistent styling of text elements. These classes can be applied to headings, paragraphs, spans, and other text elements.
Common Typography Classes
Headings
Headings can be styled using classes such as h1
to h6
to adjust their sizes.
index.html
index.css
index.js
Font size
Bootstrap provides classes like fs-1
, fs-2
, fs-3
, fs-4
, fs-5
, and fs-6
to control font (text) sizes.
index.html
index.css
index.js
Font weight and italics
Font weights can be set using the class fw-*
(font-weight
), while italic styling can be achieved using the class fst-*
(font-style
).
index.html
index.css
index.js
Lead text
The lead
class is used to add emphasis to a paragraph by increasing its font size and weight.
Text alignment
Classes like text-start
, text-center
, and text-left
are used to align text elements.
index.html
index.css
index.js
Everything was clear?
Course Content
Bootstrap: Building Stylish Websites
1. Understanding Bootstrap
2. Setting Up Environment
4. Advanced Concepts
Bootstrap: Building Stylish Websites
Typography Part 1
Bootstrap provides a set of typography classes for consistent styling of text elements. These classes can be applied to headings, paragraphs, spans, and other text elements.
Common Typography Classes
Headings
Headings can be styled using classes such as h1
to h6
to adjust their sizes.
index.html
index.css
index.js
Font size
Bootstrap provides classes like fs-1
, fs-2
, fs-3
, fs-4
, fs-5
, and fs-6
to control font (text) sizes.
index.html
index.css
index.js
Font weight and italics
Font weights can be set using the class fw-*
(font-weight
), while italic styling can be achieved using the class fst-*
(font-style
).
index.html
index.css
index.js
Lead text
The lead
class is used to add emphasis to a paragraph by increasing its font size and weight.
Text alignment
Classes like text-start
, text-center
, and text-left
are used to align text elements.
index.html
index.css
index.js
Everything was clear?