Open In App

What is the default value for the box-sizing Property?

The box-sizing Property in CSS is used to control how the total width and height of an element are calculated, including its content, padding, and border. The default value box-sizing can vary depending on the browser.

Default Value:

Syntax:

/* Explicitly setting box-sizing to content-box */
.element {
box-sizing: content-box;
}

Features:

Article Tags :