Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
Some properties, including color and many font properties, inherit by default. Layout properties such as margin generally do not.
When no winning declaration supplies an inherited property on a child, it normally uses the parent's computed value. Non-inherited properties such as margin use their initial value unless a rule says otherwise. The inherit keyword explicitly requests the parent's computed value even for a non-inherited property. A child's own declaration can override an inherited value.