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

Get now

p-5 :Tailwind CSS padding class

The p-5 class applies uniform padding of 1.25rem (20px) to all sides of an element.


p-5 (Padding 5)

The p-5 class applies uniform padding of 1.25rem (20px) to all sides of an element.

Example Code

html
<div class="p-5 bg-red-400 text-white">
Padding of 1.25rem
</div>

Preview

Padding of 1.25rem

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