column-rule

A shorthand property that sets the width, style, and color of the vertical line (rule) drawn between columns in a multi-column layout.

It is documented as part of the CSS Multi-column Layout specification.

/* Usage Example */
.multi-col-text {
  column-count: 3;
  /* Shorthand for width, style, and color */
  column-rule: 1px solid #ddd;
}

/* Syntax */
column-rule: column-rule-width;
column-rule: column-rule-style;
column-rule: column-rule-color;

/* Global values */
column-rule: inherit;
column-rule: initial;
column-rule: revert;
column-rule: revert-layer;
column-rule: unset;
Widely available Since 2017 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.

50+
52+
9+
12+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC