CSS box-sizing Property

The css box-sizing property alters the CSS box model used to calculate widths and heights of elements, so that they can be equal to the width and height of the content-, padding- or border-box.

Syntax for box-sizing property

content-box | padding-box | border-box | initial | inherit