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!

Here's a container with some child elements:

Flyout menus! The second you need to implement a menu that uses a hover event to display more menu items, you're in tricky territory. For one, they should

"The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect."- Tim Berners-Lee

In this week's roundup: datepickers are giving keyboard users headaches, a new web component compiler that helps fight FOUC, we finally get our hands on styling list item markers, and four steps to getting webmentions on your site.

The short answer: flex-shrink and flex-basis are probably what you’re lookin’ for.

In this week's look around the world of web platform news, Google Search Console makes it easier to view crawled markup, we learn that custom properties

The IndieWeb is a thing! They've got a conference coming up and everything. The New Yorker is even writing about it:


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Linux new version
SublimeText3 Linux latest version

Dreamweaver CS6
Visual web development tools