column-rule-width

CSS 特性 column-rule-width 让你可以设置在多列布局中被画在两列之间的规则(线条)的宽度。

初始值medium
适用元素multicol elements
是否是继承属性
计算值the absolute length; 0 if the column-rule-style is none or hidden
Animation typea length

Syntax

Formal syntax: 
column-rule-width = 
<line-width>

<line-width> =
<length [0,∞]> |
thin |
medium |
thick

/* Keyword values */
column-rule-width: thin;
column-rule-width: medium;
column-rule-width: thick;

/* Length values */
column-rule-width: 1px;
column-rule-width: 2.5em;

column-rule-width: inherit;

Values

<br-width>

Is a <length> or one of the thin, medium or thick keyword describing the width of the rule separating two columns.

Example

css

#header {
  column-rule-width: thick;
}

Specifications

Specification
CSS Multi-column Layout Module Level 1
# crw

Browser compatibility

BCD tables only load in the browser