These examples for typography, including global settings, headings, body text, lists, and more.
You can use tailwind predefined classes for text sizes. Also you can always use tailwind arbitrary value like .text-[--px] or .text-[--rem]
or something else.
Class |
Examples |
.text-xs |
The quick brown fox |
.text-sm |
The quick brown fox |
.text-base |
The quick brown fox |
.text-lg |
The quick brown fox |
.text-xl |
The quick brown fox |
.text-2xl |
The quick brown fox |
.text-3xl |
The quick brown fox |
.text-4xl |
The quick brown fox |
.text-5xl |
The quick brown fox |
.text-6xl |
The quick brown fox |