Inheritance in CSS
CSS saves web designers time by allowing some properties to be inherited when the child element has no specified value. For example, if a paragraph contains emphasized text and the paragraph's font color is set to red, the emphasized text will inherit the red font color. Imagine if web designers had to input a font color for the paragraph and two emphasized phrases in this paragraph! It would be slow, annoying work.
Some properties are not inherited from the parent because they would cause a mess. For example, if the emphasized text above could inherit the border around these paragraphs, you would have borders within borders!
To have an element inherit a non-inherited property, you can input the value "inherit." For example, I added "inherit" to the em's border property around this emphasized text.