Check out our free templates made with AI and polished to perfection in Windframe

Get now

p-8:Tailwind CSS padding class

The p-8 class applies uniform padding of 2rem (32px) to all sides of an element.


p-8 (Padding 8)

The p-8 class applies uniform padding of 2rem (32px) to all sides of an element.

Example Code

html
<div class="p-8 bg-yellow-400 text-black">
Padding of 2rem
</div>

Preview

Padding of 2rem

Windframe is an AI visual editor for rapidly building stunning web UIs & websites

Start building stunning web UIs & websites!

Build from scratch or select prebuilt tailwind templates