column-width简介
column-width属性在CSS多列中是比较常用的,本文将带你深入理解column-width属性的各个方面,包括它的语法、取值、作用和浏览器兼容性,最后附上column-width的实例,希望能够对你有所帮助。
column-width定义和用法
column-width:<length> | auto
默认值:auto
适用于:除table外的非替换块级元素,display:table-cell 元素, 内联块元素
继承性:无
column-width属性值
- <length>:
- 用长度值来定义列宽。不允许负值
- auto:
- 根据column-count自定分配宽度
column-width说明
来源:http://caibaojian.com/css3/properties/multi-column/column-width.htm