Home > Article > Web Front-end > Which properties of css can be inherited
The ones that can be inherited are: 1. Font family, font-family, font-weight; 2. Text series, text-indent, color; 3. Element visibility, visibility; 4. List layout, list- style; 5. Cursor, cursor.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
Personal summary, although incomplete, is common:
1. Font family attributes
Font-family: font family
Font-weight: The thickness of the font
Font-size: The size of the font
Font-style: The style of the font
2. Text series attributes
Text-indent:Text indent
Text-align:Text horizontal alignment
Line-height:Line height
Word-spacing:Word The spacing between
Letter-spacing: Chinese or the spacing between letters
Text-transform: Control text case (uppercase, lowercase, capitalize these three)
Color: Text color
3. Element visibility:
Visibility: Control the display and hiding of elements
4. List layout attributes :
List-style: List style, including list-style-type, list-style-image, etc.
5. Cursor attributes:
Cursor: What form the cursor is displayed in
Recommended learning: css video tutorial
The above is the detailed content of Which properties of css can be inherited. For more information, please follow other related articles on the PHP Chinese website!