CSS

Box model

Content, padding, border and margin. box-sizing decides whether width includes padding and border.

Why interviewers ask about it

border-box is what nearly every reset sets, because with the default content-box width: 100% plus padding overflows its container.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.