具有沿袭inherit的CSS属性汇总
具有继承inherit的CSS属性汇总
什么是继承 inherit?
意思就是你在某个elements上添加了以下的css 属性,那么这个 elements 下面的所有子元素都会继承这个css属性。最典型的就是 color 这个属性。现在汇总一下,以后写css的时候,就可以更放心了。
01
|
/*常用*/
|
02
|
color
:;
|
03
|
text-indent
:;
|
04
|
text-align
:;
|
05
|
line-height
:;
|
06
|
list-style-type
:;
|
07
|
list-style-image
:;
|
08
|
list-style-position
:;
|
09
|
list-style
:;
|
10
|
cursor
:;
|
11
|
12
|
/*不常用*/
|
13
|
direction
:;
|
14
|
text-transform
:;
|
15
|
word-spacing
:;
|
16
|
white-space
:;
|
17
|
letter-spacing
:;
|
18
|
caption-side
:;
|
19
|
border-spacing
:;
|
20
|
empty-cells
:;
|
21
|
border-collapse
:;
|
22
|
speak-header
:;
|
23
|
page-break-inside
:;
|
24
|
page
:;
|
25
|
o&
#114
;phans:;
|
26
|
widows
:;
|
27
|
volume
:;
|
28
|
speak
:;
|
29
|
azimuth
:;
|
30
|
quotes
:;
|