Skip to content
HTML.ONE
Home CSS Properties

CSS Box-sizing

Controls how width and height account for padding and borders.

Example

box-sizing: border-box;

Further reference

MDN CSS reference