p-1 :Tailwind CSS padding class

The p-1 class applies uniform padding of 0.25rem (4px) to all sides of an element.


p-1 (Padding 1)

The p-1 class applies uniform padding of 0.25rem (4px) to all sides of an element.

Example Code

html
<div class="p-1 bg-gray-500 text-white">
Padding of 0.25rem
</div>

Preview

Padding of 0.25rem

Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs

Start building stunning tailwind UIs! 

Build from scratch or select prebuilt tailwind templates