text-8xl: Tailwind CSS Font Size class

The text-8xl class applies an extremely large font size (8xl), used for prominent headers.


Interactive Font Size Playground

Try each class live and inspect the CSS output.

The quick brown fox jumps over the lazy dog.

Utility class
text-base
CSS output
font-size: 1rem; line-height: 1.5rem;

text-8xl

The text-8xl class applies an extremely large font size (8xl), used for prominent headers.

Example Code

HTML
1<div class="p-5 font-bold bg-gray-100 rounded-t-md">
2 <h3 class="text-gray-500">text-8xl</h3>
3 <p class=" text-gray-700 text-8xl">
4 Jinxed wizards pluck ivy from the big quilt.
5 </p>
6</div>

Preview

text-8xl

Jinxed wizards pluck ivy from the big quilt.

How to Use

Add the text-8xl class directly to your HTML element:

HTML
1<div class="text-8xl">
2 <!-- Your content here -->
3</div>

Responsive Usage

Use Tailwind's responsive prefixes to apply text-8xl at specific breakpoints:

HTML
1<div class="sm:text-8xl md:text-8xl lg:text-8xl">
2 Responsive element
3</div>
  • sm:text-8xl — applies from 640px and up
  • md:text-8xl — applies from 768px and up
  • lg:text-8xl — applies from 1024px and up

Customization

You can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.

Windframe is an AI visual editor for rapidly building stunning web UIs & websites

Start building stunning web UIs & websites!

Build from scratch or select prebuilt tailwind templates