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 a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
