I just discovered the CSS box-sizing: border-box, and I feel very stupid now for literally giving up on certain layouts because of the things the default content-box does

comments

border-box is crucial