box-sizing
Widely availableThe box-sizing
CSS property sets whether an element’s width and height are calculated based on the content-box
, which does not count the size of borders or padding, or border-box
, which does count them.
The box-sizing
CSS property sets whether an element’s width and height are calculated based on the content-box
, which does not count the size of borders or padding, or border-box
, which does count them.