031 · percentage padding and margin

Both red boxes must have the same size and position (percentage padding and margins use the containing width).

A: % padding/margin, then em
after
B: px reference
after