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

Get now

py-6 :Tailwind CSS padding class

The py-6 class applies padding of 1.5rem (24px) to the top and bottom sides of an element


py-6 (Vertical Padding 6)

The py-6 class applies padding of 1.5rem (24px) to the top and bottom sides of an element.

Example Code

html
<div class="py-6 bg-blue-500 text-white">
Vertical padding of 1.5rem
</div>

Preview

Vertical padding of 1.5rem

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