Since we don’t want to use calculations to compensate for padding, and border width values, we can use the CSS feature called box sizing. The box sizing property changes the way the total width and height of an element are calculated.