CSS box sizing Property
CSS box-sizing Property
The box-sizing property is used to specify how the width and height of an element are calculated i.e, is padding and borders included or not.
Its default value is content-box.
Its syntax is:- box-sizing: content-box | border-box | initial | inherit;
|content-box||The width and height properties include only the content.|
|border-box||The width and height properties including content, padding, and border|
|initial||Sets this property to its default value.|
|inherit||Inherits this property from its parent element.|