columnGap 属性指定列之间的间隙。
笔记:如果列之间有列线,它将出现在间隙的中间。
Property | |||||
---|---|---|---|---|---|
columnGap | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
返回columnGap属性:
object.style.columnGap
设置columnGap属性:
object.style.columnGap
= "length|normal|initial|inherit"
Value | Description |
---|---|
length | A specified length that will set the gap between the columns |
normal | Default value. Specifies a normal gap between the columns. W3C suggests a value of 1em |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
默认值: | 普通的 |
---|---|
返回值: | 一个字符串,表示元素的column-gap属性 |
CSS版本 | CSS3 |
CSS3教程:CSS3 多列
CSS 参考:列间隙属性
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!