CSS · Properties — CSS Multi-column Layout

column-rule

The CSS column-rule property. Initial value: column-rule-width,column-rule-style,column-rule-color. Not inherited.

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

Example

Try it

Notes

Media: visual. Applies to: multicolElements. Computed value: column-rule-width,column-rule-style,column-rule-color.

More in this group

column-count column-fill column-rule-color column-rule-style column-rule-width column-span columns

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course