CSS · Box Model · Junior · Debugging
How do width percentage and padding interact?
Short Interview Answer
Percent padding is relative to containing block width (including vertical padding historically).
Detailed Explanation
Can surprise in height calculations. Prefer modern layout and gap when possible.