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

Get now

py-1 :Tailwind CSS padding class

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


py-1 (Vertical Padding 1)

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

Example Code

html
<div class="py-1 bg-orange-400 text-white">
Vertical padding of 0.25rem
</div>

Preview

Vertical padding of 0.25rem

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