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 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