码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2015-04-12 20:42:52      阅读:150      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!