columnSpan 属性指定元素应跨越多少列。
Property | |||||
---|---|---|---|---|---|
columnSpan | 50.0 | 10.0 | 71.0 | 10.0 | 37.0 |
返回columnSpan属性:
object.style.columnSpan
设置columnSpan属性:
object.style.columnSpan = "1|all|initial|inherit"
Value | Description |
---|---|
1 | Default value. The element should span across one column |
all | The element should span across all columns |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
默认值: | 1 |
---|---|
返回值: | 一个字符串,表示元素的列跨度属性 |
CSS版本 | CSS3 |
CSS3教程:CSS3 多列
CSS 参考:列跨度属性
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!