--- title: column-rule-width slug: Web/CSS/column-rule-width translation_of: Web/CSS/column-rule-width ---
{{ CSSRef("CSS Multi-columns") }}
CSS 特性 column-rule-width
让你可以设置在多列布局中被画在两列之间的规则(线条)的宽度。
{{cssinfo}}
Formal syntax: {{csssyntax("column-rule-width")}}
/* 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;
thin
, medium
or thick
keyword describing the width of the rule separating two columns.#header {column-rule-width: thick;}
Specification | Status | Comment |
---|---|---|
{{ SpecName('CSS3 Multicol', '#crw', 'column-rule-width') }} | {{ Spec2('CSS3 Multicol') }} |
{{ 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() }} |