Check out our free templates made with AI and polished to perfection in Windframe
Get nowpy-2: Tailwind CSS padding class
The py-2 class creates padding of 0.5rem or 8px unit on the top and bottom of the element.
py-2 (Vertical Padding 2)
This class creates padding on the y axis of the element. The py-2 class creates padding of 0.5rem
or 8px
unit on the top and bottom of the element.
Example Usage
html
<span class="py-2 inline-block bg-teal-400">Item</span>
Preview
Item
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
Start building stunning web UIs & websites!
