首页 > Web开发 > 详细

css默认被后代inherite的属性列表

时间:2015-04-12 20:39:48      阅读:356      评论:0      收藏:0      [点我收藏+]

css中的属性大部分都可以被继承,但是也有众多不能被继承,比如display, position,float,width,border-color,border-style,text-decoration,left,right,top,bottom等不被继承。下面列出能被继承的属性。详细见:

http://www.w3.org/TR/CSS21/propidx.html

azimuth

border-collapse

border-spacing

caption-side

color

cursor

direction

elevation

empty-cells

font-family

font-size

font-style,font-weight,font,

letter-spacing,

line-height

list-style-image

list-style-position

list-style

list-style-type

orphans

quotes,

richness

speak-header

text-align

text-indent

text-transformation

visibility,

white-space, z-index

 

css默认被后代inherite的属性列表

原文:http://www.cnblogs.com/kidsitcn/p/4420201.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!