Problem Statement
What is the purpose of the box-sizing property?
Explanation
The box-sizing property controls how the total size of an element is calculated. In content-box, padding and border are added to width and height. In border-box, padding and border are included inside the total width and height. border-box makes layout management easier and is widely used in modern CSS resets.
Code Solution
SolutionRead Only
* { box-sizing: border-box; }