CSS Box Model is used when talking about design and layout. It is essentially a box that wraps around every HTML element. It consists of margins, borders, padding, and the actual content.

Elements of CSS Box Model

  • Content
  • Padding
  • Border
  • Margin
BY Best Interview Question ON 24 Aug 2019