Skip to content

Glossary: CSS Layout and Responsive Design

box-sizing: border-box

Also written: box-sizing, border-box, content-box

Makes `width` include padding and border, so a 250px box stays 250px wide. By default `width` covers only the content.

Where the book teaches it

Related terms

ResetBox model