column-rule-width
CSS 特性 column-rule-width
让你可以设置在多列布局中被画在两列之间的规则(线条)的宽度。
初始值 | medium |
---|---|
适用元素 | multicol elements |
是否是继承属性 | 否 |
计算值 | the absolute length; 0 if the column-rule-style is none or hidden |
Animation type | a 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 thethin
,medium
orthick
keyword describing the width of the rule separating two columns.
Example
#header {column-rule-width: thick;}
Specifications
Specification |
---|
CSS Multi-column Layout Module Level 1 # crw |
Browser compatibility
BCD tables only load in the browser