← Tailwind CSS classes list

Tailwind CSS class: .text-2xl

<p class="text-2xl truncate">Lorem ipsum dolor sit amet.</p>

Preview

Lorem ipsum dolor sit amet.

Check .text-2xl in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

CSS source

.text-2xl { font-size: 1.5rem; }

More in Tailwind CSS Text