box-sizing

From Mozilla:

The box-sizing CSS property is used to alter the default CSS box model used to calculate width and height of the elements.