Home  >  Article  >  Web Front-end  >  Which properties of css can be inherited

Which properties of css can be inherited

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-06-01 14:26:3719241browse

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.

Which properties of css can be inherited

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn