csspages

Home

Inherit vs Initial in CSS

Implied values

initial

initial sets the property back to the browser default value for that element.

W3C has provided an initial value for each property. This is the value that is used when no value is specified for any property.

inherit

inherit use the value for the property in the parent element.

unset

revert

Properties that are normally inherited

where default property values are set to computed values of parent value

Home