Skip to content

Glossary: CSS Layout and Responsive Design

Box model

Also written: padding, border, margin

Every element is a box made of content, then padding (space inside the border), a border, and margin (space outside it).

Where the book teaches it

Related terms

box-sizing: border-boxMargin collapsing