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

Get now

py-5 :Tailwind CSS padding class

The py-5 class applies padding of 1.25rem (20px) to the top and bottom sides of an element.


py-5 (Vertical Padding 5)

The py-5 class applies padding of 1.25rem (20px) to the top and bottom sides of an element.

Example Code

html
<div class="py-5 bg-gray-400 text-white">Vertical padding of 1.25rem</div>

Preview

Vertical padding of 1.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