This article introduces the content of the CSS can inherit the attributes, has a certain reference value, now share to everyone, have the need for friends can refer to
Inheritance means that child nodes use the parent node's style properties by default.
There are too many non-inheritable properties to memorize, so remember which attributes you can inherit. There are few properties that can inherit, only color, text, font spacing, line height alignment, and the style of the list can be inherited. It's so easy to remember! Do not be frightened by the bottom of the OH ~
All elements can be inherited: visibility and cursor. Inline elements can be inherited: Letter-spacing, Word-spacing, White-space, line-height, color, font, font-family, Font-size, Font-style, Font-variant, Font-weight, Text-decoration, Text-transform, direction. Terminal block elements can be inherited: Text-indent and Text-align. List elements can be inherited: List-style, List-style-type, List-style-position, List-style-image.