CSS property: -webkit-box-sizing

Description

Specifies that the size of a box be measured according to either its content (default) or its total size including borders.

Syntax

-webkit-box-sizing: <sizing_model>;

Values

<sizing_model>

The model by which the size of the box is measured.

border-boxThe box size includes borders in addition to content.
content-box (by default)The box size only includes content.

Versions