column-rule-style

Determines the line style (solid, dashed, dotted, etc.) of the vertical line drawn between columns.

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

/* Usage Example */
.content {
  column-count: 3;
  /* Sets the line style of the divider */
  column-rule-style: dashed;
}

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

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