1.Explain the CSS box model and box-sizing.
Show hint
Four layers, and what width measures.
Show solution
Every element is a box of content, padding, border and margin. With the default box-sizing: content-box, width is only the content width, so padding and border are added on top. With border-box, width includes padding and border, which is why most stylesheets set *, *::before, *::after { box-sizing: border-box; }.