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

Get now

p-6 :Tailwind CSS padding class

The p-6 class applies uniform padding of 1.5rem (24px) to all sides of an element.


p-6 (Padding 6)

The p-6 class applies uniform padding of 1.5rem (24px) to all sides of an element.

Example Code

html
<div class="p-6 bg-purple-400 text-white">
Padding of 1.5rem
</div>

Preview

Padding of 1.5rem

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