--- title: column-rule-style slug: Web/CSS/column-rule-style translation_of: Web/CSS/column-rule-style ---

{{ CSSRef("CSS Multi-columns") }}

Summary

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

{{cssinfo}}

Syntax

Formal syntax: {{csssyntax("column-rule-style")}}
column-rule-style: none;
column-rule-style: hidden;
column-rule-style: dotted;
column-rule-style: dashed;
column-rule-style: solid;
column-rule-style: double;
column-rule-style: groove;
column-rule-style: ridge;
column-rule-style: inset;
column-rule-style: outset;

column-rule-style: inherit;

Values

<br-style> 
Is a keyword defined by {{ cssxref("border-style") }} describing the style of the rule. The styling must be interpreted as in the collapsing border model.

Example

#header {-moz-column-rule-style: inset;}

Specifications

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

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }} 3.5 (1.9.1){{ property_prefix('-moz') }} 10 11.1 3.0 (522){{ property_prefix('-webkit') }}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatVersionUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}