h-24: Tailwind CSS Height class

The h-24 class sets the height of an element to 6rem (96 pixels).


h-24

The h-24 class sets the height of an element to 6rem (96 pixels). This size is useful for medium-sized UI components like cards, sections, or large buttons.

Code Example

html
<div class="h-24 bg-indigo-500 text-white text-center flex justify-center items-center font-bold">Height: 24</div>

Preview

Height: 24

Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs

Start building stunning tailwind UIs! 

Build from scratch or select prebuilt tailwind templates