css可以继承的属性

可以继承的CSS元素,记录下来,以后查询。意思就是你在某个elements上添加了以下的css 属性,那么这个 elements 下面的所有子元素都会继承这个css属性。典型的有line-height和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. orphans:
26. widows:
27. volume:
28. speak:
29. azimuth:
30. quotes:

3 thoughts on “css可以继承的属性

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">