← Tailwind CSS classes list

Tailwind CSS class: .h-2

<span class="h-2 w-4 inline-block bg-teal-400"></span>

Preview

Check .h-2 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

.h-2 { height: 0.5rem; }

More in Tailwind CSS Height