Check out our free templates made with AI and polished to perfection in Windframe

Get now

text-2xl: Tailwind CSS Font Size class

The text-2xl class sets the text size to extra large (2xl), which is larger than the base font size.


text-2xl

The text-2xl class sets the text size to extra large (2xl), which is larger than the base font size.

Example Code

html
<div class="p-5 font-bold bg-gray-100 rounded-t-md">
<h3 class="text-gray-500 ml-20">text-2xl</h3>
<div class="flex flex-col justify-start items-center">
<p class="non-italic text-gray-700 text-2xl">
Jinxed wizards pluck ivy from the big quilt.
</p>
</div>
</div>

Preview

text-2xl

Jinxed wizards pluck ivy from the big quilt.

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