Lead text
The lead class makes an introductory paragraph stand out from the rest.
In this page:
Syntax
<p class="lead">Intro paragraph text.</p>
Lead text
Adding .lead to a paragraph increases its font size and lightens its weight. It is typically used for the first paragraph after a heading. Use .fs-* classes for other size steps.
Note:
fs-1 to fs-6 set font sizes independently of the heading tags.
Example: Lead text
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="p-3">
<div class="container">
<h2>Article title</h2>
<p class="lead">This lead paragraph introduces the article and stands out.</p>
<p>Normal body text follows here with regular size.</p>
<p class="fs-2">fs-2 sized text</p>
</div>
</body>
</html>
Live Example
Related Topics
Common Mistakes
- Using lead on every paragraph
- Confusing lead with display
- Using inline font-size instead
Chapter Summary
- .lead highlights intro text
- Larger and lighter
- Use once per section
- .fs-* sets sizes
🔒
Chapter Quiz — Complete all 7 topics to unlock
0/7 topics done
Complete these topics first: