p-2 :Tailwind CSS padding class
The p-2 class applies uniform padding of 0.5rem (8px) to all sides of an element.
p-2 (Padding 2)
The p-2 class applies uniform padding of 0.5rem (8px) to all sides of an element.
Example Code
html
<div class="p-2 bg-blue-400 text-white"> Padding of 0.5rem</div>
Preview
Padding of 0.5rem
Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
