Skip to content

Glossary: HTML & CSS Basics

box-sizing

Also written: border-box, content-box

A CSS property that decides what `width` measures. With `border-box`, the width includes padding and border, so a 300 px card really measures 300 px.

Where the book teaches it

Related terms

Box modelUniversal selectormax-width