Home >Web Front-end >CSS Tutorial >Detailed description of CSS default inheritable styles

Detailed description of CSS default inheritable styles

高洛峰
高洛峰Original
2017-03-13 17:52:421615browse

The following editor will bring you a detailed description of CSS default inheritance styles. The editor thinks it’s pretty good, so I’d like to share it with you now and give it as a reference. Let’s follow the editor and take a look.

I have always wanted to summarize a list of inheritable styles. It is often heard that colors and fonts are inheritable, and box model styles are not inheritable, but what about other styles? The content of this article includes all inheritable styles

Commonly inherited styles


  1. color
    cursor
    direction
    font
    letter-spacing
    line-height
    list-style
    text-align
    text-indent
    text-shadow
    text-transform
    whitewhite-space
    word-break   
    word-spacing
    word-wrap   
    writing-mode


##Uncommonly used inheritable styles

captioncaption-side
empty-cells
text-combine-upright   
text-orientation   
text-rendering   
text-underline-position
widows


The above detailed explanation of CSS default inheritable styles is all the content shared by the editor. I hope it can be useful to everyone. A reference, and I hope everyone will support the PHP Chinese website.


The above is the detailed content of Detailed description of CSS default inheritable styles. 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
Previous article:Must-read CSS tipsNext article:Must-read CSS tips