The box-sizing CSS property sets how the total width and height of an element is calculated.