h-8: Tailwind CSS Height class
The h-8 class sets the height of an element to 2rem (32 pixels).
h-8
The h-8
class sets the height of an element to 2rem (32 pixels). This is useful for defining a small but visible element, such as buttons, navigation links, or small containers.
Code example
html
<div class="h-8 bg-indigo-500 text-white text-center rounded-md font-bold">Height: 8</div>
Preview
Height: 8
Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
