CKTIS / CSS
column-rule-color — color of the rule between columns
The column-rule-color property sets the color of the rule separating columns. It does not enable a visible rule by itself: a suitable style and a nonzero width are also needed.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
column-rule-color: <color>;
/* CSS Gaps Level 1 draft: */
column-rule-color: <line-color-list> | <auto-line-color-list>;column-rule-color sets the color of the rule between columns in a multi-column container. The basic syntax accepts a <color>. Its initial value is currentcolor, and the property is not inherited.
Color alone is insufficient: the initial column-rule-style is none. Set a style such as solid and a nonzero column-rule-width. The rule is centered in the column-gap and takes up no additional layout space.
The sources describe different specification stages. The CSS Multi-column Layout Level 2 publication defines a single color. The CSS Gaps Level 1 draft extends the syntax with comma-separated lists and repeat(), and extends applicability to grid and flex containers as well. A draft definition does not establish browser support; these extensions require separate verification.
The example deliberately uses one color in a multi-column layout. The expected result is Alpha and Beta in separate columns, separated by a solid 4px rule colored #663399, centered in a 24px gap.
Examples
<!doctype html>
<meta charset="utf-8">
<title>column-rule-color</title>
<style>
.columns {
width: 320px;
height: 80px;
column-count: 2;
column-gap: 24px;
column-rule-width: 4px;
column-rule-style: solid;
column-rule-color: #663399;
font: 16px/24px sans-serif;
}
.columns p { margin: 0; }
.columns p + p { break-before: column; }
</style>
<div class="columns">
<p>Alpha</p>
<p>Beta</p>
</div>Result
Alpha | Beta — two columns separated by a solid 4px #663399 rule centered in a 24px gap.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.