Skip to content
CSS·Beginner·Conceptual·1 min read

Does padding accept negative values?

Short interview answer

No. Unlike margin, padding cannot be negative — the CSS specification requires padding values to be zero or positive, since negative padding has no coherent geometric meaning.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to The CSS box model

Related questions