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

Which properties of css can be inherited

醉折花枝作酒筹
Release: 2023-01-06 11:15:59
Original
19290 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template