Box Model Exercise

Instructions:

  1. Create two boxes with the same width, padding, border, and margin
  2. Make one box use content-box sizing
  3. Make the other box use border-box sizing
  4. Observe and document the differences in final dimensions

Box 1 (content-box)

Content Box

Box 2 (border-box)

Border Box