What is CSS Box Model and also explain its elements?

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

Suggest An Answer

No suggestions avaliable!

Latest post from CSS interview questions

Ask Question