Brandify Interview Question

What is the Box Model in CSS?

Interview Answer

Anonymous

Nov 4, 2015

In CSS, the term "box model" is used when talking about design and layout. All HTML elements can be considered as boxes. A box that wraps around every HTML element, consists of: margins, borders, padding, and the actual content. Example div { border:10px solid red; padding 20px; margin:15px; } <div>Hello Guys! I am a css box Moedel</div>