CSS继承的元素属性小总结(css3属性继承)
文章标签:
bootstrap 布局教程
所有元素可继承:
visibility和cursor
内联元素和块级元素可继承:
letter-spacing
word-spacing
white-space
line-height
color
font
font-family
font-size
font-style
font-variant
font-weight
text-decoration
text-transform
direction
块级元素可继承
:
text-indent和text-align
列表元素可继承:
list-style
list-style-type
list-style-position
list-style-image
表格元素可继承:
border-collapse
不可继承:
display
margin
border
padding
background
height
min-height
max-height
width
min-width
max-width
overflow
position
left
right
top
bottom
z-index
float
clear
table-layout
vertical-align
page-break-after
page-bread-before
unicode-bidi
切图网(qietu.com)专业从事web前端开发的公司,专注we前端开发,响应式布局,webapp手机端网页制作,微信html5页面制作,bootstrap布局等,关注用户体验。