Overview

The CSS Box Model shows that everything in css is a box or fits into one of the boxes

CSS-Box-Model.png.png

Content Box

The width and height properties are used in the content box

Padding Box

The padding property defines the space inside an element and around the content box

Border Box

border-style is only used with Keyword values

Margin Box

Defines the space around the element