Inherit

The inherit value sets a property value to match its parent's value.

Remember that some properties are inherited (e.g. color) and the others not inherited (e.g. border). Even without you specifying inherit, by default CSS always inherits inherited property values to children elements.

| LIVE PREVIEW

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

Follows the parent's color

Back to browser's default

References