- Content Width and Height
- Padding
- Border
- Margin
- px
- %
- em and ex
- vw, vh, vmin and vmax
- cm and mm
- Display Block
- Display Inline
- Display Inline-Block
- Border parts and sizing
- Border Styles
- Rounded Corners
- Vertical Block elements collapse
- Horizontal elements do not collapse
- Only adjacent elements collapse
- Nested elements collapsing
- Collapsing more than two elements
- Margin with
Flex
orGrid
- Using the
gap
property
- The problem with CSS 2 Box sizing
- The
box-sizing
property border-box
vscontent-box