日期:2014-05-17  浏览次数:20617 次

具有继承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 bor