--- title: column-rule-color slug: Web/CSS/column-rule-color translation_of: Web/CSS/column-rule-color ---
{{CSSRef("CSS Multi-columns")}}

Summary

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

{{cssinfo}}

Syntax

Formal syntax: {{csssyntax("column-rule-color")}}
column-rule-color: red;
column-rule-color: rgb(192, 56, 78);
column-rule-color: transparent;
column-rule-color: hsla(0, 100%, 50%, 0.6);

column-rule-color: inherit;

Values

<color>
Is a {{cssxref("<color>")}} value representing the color of the rule separating columns.

Example

#header { column-rule-color: blue; }

Specifications

Specification Status Comment
{{SpecName('CSS3 Multicol', '#crc', 'column-rule-color')}} {{Spec2('CSS3 Multicol')}}  

Browser compatibility

{{Compat("css.properties.column-rule-color")}}