column-rule-width

Sets the thickness of the vertical line drawn between columns in a multi-column layout.

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

/* Usage Example */
.content {
  column-count: 3;
  column-rule-style: solid;
  /* Sets the thickness of the column divider */
  column-rule-width: 2px;
}

/* Syntax */
column-rule-width: border-width;

/* Global values */
column-rule-width: inherit;
column-rule-width: initial;
column-rule-width: revert;
column-rule-width: revert-layer;
column-rule-width: 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