CSS Keyword Values | CSS: Presentation Layer

Standards Based Development

css-Wide Keywords: initial and inherit.

All properties accept initial and inherit keywords, which represent value computations common to all properties.

inherit keyword value

inherit keyword value is a cascaded value applicable to each property, meaning that for a given element, the property takes the same specified value as the property for the element's parent. The inherit keyword value can be used to enforce inheritance of values, and it can also be used on properties that are not normally inherited.

The 'inherit' Value - Assigning Property Values, Cascading, and Inheritance

initial keyword value

The initial keyword value represents the specified value that is designated as the property's initial value.

Note: the default keyword value is reserved for future use.

Each property has an initial value which becomes the specified value when cascading and inheritance does not yeild a value. Also, the initial value can be explicitly specified via initial keyword value.

CSS3 Module: Cascading and Inheritance

css px is an angular measurement.

References and Resources