The column-rule-width property controls how thick the divider line is between columns in a multi-column layout.
01
Rule Width
Line thickness.
02
Longhand
Part of column-rule.
03
Default medium
Browser default.
04
Keywords
thin, medium, thick.
05
Length Units
px, em, rem.
06
Visual Split
Stronger separation.
Fundamentals
Definition and Usage
The column-rule-width CSS property specifies the width of the rule (line) between columns in a multi-column layout. It helps enhance visual separation between columns, making content more readable and aesthetically pleasing.
Use it alongside column-rule-style and optionally column-rule-color on a container with column-count or column-width. Length values like px, em, and rem give precise control; keywords like thin and thick match familiar border-width behavior.
💡
Beginner Tip
Width alone does not create a visible rule — set column-rule-style to solid (or another style) and ensure you have column-gap space between columns.
Foundation
📝 Syntax
The syntax for column-rule-width accepts keyword or length values:
Two columns with a thin gray rule. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
How It Works
thin maps to a browser-defined narrow width, similar to border-width: thin.
Example 3 — thick Column Rule Width
Use thick for a bold column divider without specifying pixels.
Two columns with a thick dark rule. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
How It Works
thick gives a bolder separator — useful for magazine-style layouts with strong column breaks.
Example 4 — Responsive em-Based Width
Use em so the rule scales with the container’s font size.
Three columns with an em-scaled rule width. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
How It Works
0.1em keeps the divider proportional to text size — helpful for responsive typography.
🧠 How column-rule-width Works
1
Column rule enabled
Set column-rule-style to a visible style like solid.
Prerequisite
2
You set column-rule-width
Choose a keyword or length such as 5px or thin.
CSS rule
3
Browser renders thickness
The divider in each column gap uses your specified width.
Rendering
=
📐
Sized column dividers
Columns are separated with a rule at exactly the thickness you chose.
Compatibility
Modern Browser Support
The column-rule-width property is supported in most modern browsers, including Chrome, Firefox, Safari, Edge, and Opera.
✓ Baseline · Modern browsers
Column rule widths everywhere
All major browsers support column-rule-width as part of the Multi-column Layout module.
97%Modern browser support
Google Chrome50+ · Desktop & Mobile
Full support
Mozilla Firefox52+ · Desktop & Mobile
Full support
Apple Safari9+ · macOS & iOS
Full support
Microsoft Edge12+ · All versions
Full support
Opera37+ · Modern versions
Full support
column-rule-width property97% supported
Bottom line: Use column-rule-width freely for multi-column divider thickness. Prefer px or rem for consistent cross-browser sizing.
Wrap Up
Conclusion
The column-rule-width property is a useful tool for creating visually appealing multi-column layouts. By customizing the width of the rule between columns, you can enhance the readability and design of your content.
Experiment with different widths and see how this property can improve the look and feel of your web projects.
Use 1px–2px for subtle dividers in body text columns
Pair width with column-rule-style: solid for clarity
Use rem or em for responsive rule scaling
Increase column-gap when using thicker rules
Use longhand when changing only width in media queries
❌ Don’t
Expect a visible rule with width alone — style must not be none
Use very thick rules (5px+) without enough column gap
Rely on medium for pixel-perfect designs across browsers
Confuse column-rule-width with column-gap
Use thick rules on narrow mobile column layouts
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about column-rule-width
Use these points when sizing column divider lines.
5
Core concepts
📐01
Rule width
Line thickness.
Purpose
⚙02
Default medium
Browser default.
Default
🖌03
Keywords
thin, medium, thick.
Values
📐04
Length units
px, em, rem.
Tip
🛸05
Longhand
Part of column-rule.
Syntax
❓ Frequently Asked Questions
column-rule-width sets the thickness of the line drawn between columns in a multi-column layout. It is the longhand width component of the column-rule shorthand.
The initial value is medium, which corresponds to a medium width as defined by the browser's default styling.
thin, medium, and thick are keyword widths similar to border-width. Length values like 2px, 0.1em, or 0.15rem let you set an exact thickness.
Yes. column-rule-width only sets thickness. You also need column-rule-style set to something other than none for a visible divider.
column-gap controls the space between columns. column-rule-width controls how thick the divider line is within that gap.