Check out our free templates made with AI and polished to perfection in Windframe
Get nowpy-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 an AI visual editor for rapidly building stunning web UIs & websites
Start building stunning web UIs & websites!
