Explore Library
Tailwind CSSUtility Classes & the Utility-First Workflow

38 items

FlashcardBeginner

Padding Utilities

Use p-*, px-*, and py-* to control padding on any side.

Question

What do p-4, px-4, and py-4 control in Tailwind?

Click to reveal answer