Home > Web Front-end > CSS Tutorial > What are the non-inherited properties in css?

What are the non-inherited properties in css?

王林
Release: 2021-02-07 11:35:59
Original
12335 people have browsed it

The non-inherited properties in css are: 1. display; 2. text properties; 3. box model properties; 4. background properties; 5. positioning properties; 6. generated content properties; 7. outline style Properties; 8. Page style properties; 9. Sound style properties.

What are the non-inherited properties in css?

The operating environment of this tutorial: windows10 system, css3, Dell G3 computer.

Non-inherited attributes:

1. display: Specifies the type of box that the element should generate

2. Text attribute:

vertical-align : Vertical text alignment

text-decoration: Specifies the decoration added to the text

text-shadow: Text shadow effect

white-space: White space processing

unicode-bidi: Set the direction of the text

3. Box model attributes: width, height, margin, margin-top, margin-right, margin-bottom, margin-left, border, border- style, border-top-style, border-right-style, border-bottom-style, border-left-style, border-width, border-top-width, border-right-right, border-bottom-width, border- left-width, border-color, border-top-color, border-right-color, border-bottom-color, border-left-color, border-top, border-right, border-bottom, border-left, padding, padding-top, padding-right, padding-bottom, padding-left

4, background attributes: background, background-color, background-image, background-repeat, background-position, background-attachment

5. Positioning attributes: float, clear, position, top, right, bottom, left, min-width, min-height, max-width, max-height, overflow, clip, z-index

6. Generate content attributes: content, counter-reset, counter-increment

7, outline style attributes: outline-style, outline-width, outline-color, outline

8, page Style attributes: size, page-break-before, page-break-after

9, sound style attributes: pause-before, pause-after, pause, cue-before, cue-after, cue, play- during

Related recommendations: CSS tutorial

(Learning video sharing: css video tutorial)

The above is the detailed content of What are the non-inherited properties in css?. 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