The column-rule-style property controls how the divider line between columns looks — solid, dashed, dotted, and more.
01
Rule Style
Line appearance.
02
Longhand
Part of column-rule.
03
Default none
No line by default.
04
border-style
Same keyword values.
05
With Width
Needs width + gap.
06
Visual Split
Separate columns clearly.
Fundamentals
Definition and Usage
The column-rule-style CSS property specifies the style of the rule (line) between columns in a multi-column layout. It lets you define how the dividing line should appear, with options such as solid, dotted, dashed, and more.
Using this property enhances the visual separation of content in a multi-column layout. Apply it to an element that already uses column-count or column-width, along with column-gap and typically column-rule-width.
💡
Beginner Tip
The default is none, so no divider shows until you set a style like solid and give the rule a width. It uses the same keywords as border-style.
Foundation
📝 Syntax
The syntax for column-rule-style is applied to a multi-column container:
Two columns with a dashed gray rule. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
How It Works
Dashed rules break the line into segments, which can feel softer than a solid divider.
🎨 Decorative Rule Styles
Explore dotted and double styles for more distinctive column separators.
Three columns with a dotted rule. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
How It Works
Dotted rules use small round dots along the gap — useful for a minimal, magazine-style look.
Example 4 — Double Column Rule Style
Use a double line for a stronger, decorative column separator.
Two columns with a double rule. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
How It Works
Double style needs enough width (typically 3px or more) so both lines render clearly in the gap.
🧠 How column-rule-style Works
1
Multi-column layout
Set column-count and column-gap on the container.
Prerequisite
2
You set column-rule-style
Choose a keyword like solid, dashed, or none.
CSS rule
3
Browser draws the rule
With width and gap set, the divider appears in each column gap using your style.
Rendering
=
📐
Styled column dividers
Content columns are visually separated with your chosen line style.
Compatibility
Modern Browser Support
The column-rule-style property is supported in most modern browsers, including Chrome, Firefox, Safari, Edge, and Opera.
✓ Baseline · Modern browsers
Column rule styles everywhere
All major browsers support column-rule-style 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-style property97% supported
Bottom line: Use column-rule-style freely for multi-column dividers. Test 3D styles (groove, ridge) if you rely on them for design.
Wrap Up
Conclusion
The column-rule-style property is a useful tool for enhancing the appearance of multi-column layouts. By customizing the style of the rule between columns, you can create visually appealing and well-organized content.
Experiment with different styles to find the one that best suits your design needs.
Set column-rule-width and column-gap alongside style
Match rule style to your overall design (formal vs casual)
Use longhand when changing only style on hover or media queries
Prefer subtle styles that do not overpower body text
❌ Don’t
Expect a visible rule with none (the default)
Use double with very thin widths — it may not render
Rely on 3D styles for critical layout separation
Forget that style alone is not enough — width matters
Mix heavy decorative rules with dense multi-column text
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about column-rule-style
Use these points when styling column divider lines.
5
Core concepts
📐01
Rule style
Line appearance.
Purpose
⚙02
Default none
No line by default.
Default
🖌03
border-style
Same keywords.
Values
📐04
Needs width
Width + gap too.
Tip
🛸05
Longhand
Part of column-rule.
Syntax
❓ Frequently Asked Questions
column-rule-style sets the line style of the divider between columns in a multi-column layout. It is the longhand style component of the column-rule shorthand.
The initial value is none, which means no visible line appears between columns unless you set a different style.
Yes. column-rule-style accepts the same keyword values as border-style, including solid, dashed, dotted, double, groove, ridge, inset, outset, and none.
For a visible rule, set column-rule-width to a length and optionally column-rule-color. column-rule-style alone with none hides the divider.
column-rule is a shorthand for width, style, and color together. column-rule-style lets you change only the line style without resetting width or color.