py-4 :Tailwind CSS padding class

The py-4 class applies 1rem (16px) padding only to the top and bottom sides of an element.


py-4 (Vertical Padding 4)

The py-4 class applies 1rem (16px) padding only to the top and bottom sides of an element.

Example Usage

html
<div class="py-4 bg-red-500 text-white">
Vertical Padding Only
</div>

Preview

Vertical Padding Only

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