Every element on a page is a rectangular box with four areas: content → padding → border → margin.
Padding is the space inside the border and around the content. It increases the background-colored area.
Margin is the space outside the border. It creates distance between elements.
The border wraps the padding and content. It can have style, width, color, and radius.
Width/height apply to the content box by default. Padding and
border add on top of these values (unless using
box-sizing: border-box).
display controls how an element participates in layout.
With content-box (default), declared width excludes padding
and border. With border-box, declared width includes padding
and border.