Padding
Padding
The empty space between a box's edge and the content inside it.
💡 It's like the bubble wrap that keeps things safe inside a shipping box.
👆 Try it yourself
It really works — click around and see.
Button text
CSSpadding: 16px;
🤖 Say this to your AI
Increase the Padding inside the cards to 24px. On phones, reduce it to 16px.
The key word is ‘Padding’. Including it helps AI understand you much more precisely.
📌 Good to know
If something looks 'cramped' or 'squished', it usually needs more padding.
When to use it
- When a button's text is jammed against its edges and looks cramped
- When you want the inside of a card to feel roomier
Also called: inner spacing, space inside, breathing room, cramped, inside space, spacing