The Box Model

suggest change

Syntax

Parameters

|Parameter |Detail| |——— |——| |content-box|Width and height of the element only includes content area.| |padding-box|Width and height of the element includes content and padding. | |border-box |Width and height of the element includes content, padding and border. | |initial |Sets the box model to its default state.| |inherit |Inherits the box model of the parent element.|

Remarks

About padding-box

This value was only implemented by Firefox and thus should not be used. It was removed in Firefox version 50.0.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents