MDN wants to learn about developers like you:

The column-rule CSS property sets the width, style, and color of the rule (line) drawn between columns in a multi-column layout.

It is a shorthand property that sets the individual column-rule-* properties in a single, convenient declaration: column-rule-width, column-rule-style, and column-rule-color.

Note: As with all shorthand properties, any individual value that is not specified is set to its corresponding initial value (possibly overriding values previously set using non-shorthand properties).


column-rule: dotted;
column-rule: solid 8px;
column-rule: solid blue;
column-rule: thick inset blue;

/* Global values */
column-rule: inherit;
column-rule: initial;
column-rule: unset;

The column-rule property is specified as one, two, or three of the values listed below, in any order.


Is a <length> or one of the three keywords, thin, medium, or thick. See border-width for details.
See border-style for possible values and details.
Is a <color> value.

Formal syntax

<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>


Example 1

/* Same as "medium dotted currentColor" */ { column-rule: dotted; }

/* Same as "medium solid blue" */ { column-rule: solid blue; }

/* Same as "8px solid currentColor" */
p.baz { column-rule: solid 8px; } { column-rule: thick inset blue; }

Example 2


<p class="content-box">
  This is a bunch of text split into three columns.
  Take note of how the `column-rule` property is used
  to adjust the style, width, and color of the rule
  that appears between the columns.


.content-box {
  padding: 0.3em;
  background: #ff7;
  column-count: 3;
  column-rule: inset 2px #33f;



Specification Status Comment
CSS Multi-column Layout Module
The definition of 'column-rule' in that specification.
Working Draft Initial definition.

Initial valueas each of the properties of the shorthand:
Applies tomulticol elements
Computed valueas each of the properties of the shorthand:
Animation typeas each of the properties of the shorthand:
Canonical orderper grammar

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support


Yes -webkit-

Yes -webkit-


3.5 -moz- 1



15 -webkit-

3 -webkit-
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes


Yes -webkit-



Yes -moz-

? ? ?

1. Before Firefox 3, the default value for the normal keyword was 0 and not 1em.