Column-rule-style - CSS Property
Summary of characteristics of the column-rule-style property
none | dashed | solid | hidden | double | dotted | outset | inset | groove | ridgenoneDiscrète: during an animation, the column-rule-style property passes from one value to another without transition.Per grammar: serialization in the order of syntax.Syntax diagram of column-rule-style.
column-rule-style property.The links in the diagram provide more details about the values.
Download the diagram in SVG.
In the diagram, the bold terms are the predefined words of CSS, the other terms are described below:
- Several values can be listed by separating them with a comma.
Description of the column-rule-style property.
column-rule-style defines the style of the column separator line. The same options are available as for border styles.
Refer to the shorthand property column-rule for an overview of all the settings related to separator lines, and to the columns page for a
general overview of column layouts using CSS.
Originally intended for gutters between columns in a multi-column container, the property column-rule-style is now described in the CSS Gap Module.
As soon as browsers are up to date, my property will be able to apply to both multi-column containers as well as grid or flex containers.
On this topic, you can also check out the page on rule for a general overview of gutters.
Values for column-rule-style.
- column-rule-style: none;
Default value. No dividing line between the columns.
- column-rule-style: solid;
Several line styles are available. They correspond to the following values:
solid
A simple linedouble
A double linedotted
A series of dotsdashed
A series of dashesgroove
A line with 3D effect: groove (1)(1)The 3D effects are only visible if the line thickness is at least 3 pixels. In our examples, the thickness is 5 pixels.
(2) The
insetandoutseteffects are not well suited for column divider lines. Indeed, these effects require perpendicular lines, like in a border around an element. Applied to a simple vertical line, they only cause the line's color to lighten or darken. - column-rule-style: dotted, solid; column-rule-style: repeat(2, dotted), solid;
When several values are indicated, separated by a comma, they apply successively to the different separation marks. If there are more separation marks than values, the list starts over from the beginning. You can also use the
repeat()function when the number of marks is large.and other browsers don't handle this possibility yet (2026).
- column-rule-style: initial; (
none) column-rule-style: inherit; column-rule-style: revert; column-rule-style: revert-layer; column-rule-style: revert-rule; column-rule-style: unset;See the following pages for more details:
initial,inherit,revert,revert-layer,revert-rule,unset.
Animation of the column-rule-style property.
The property column-rule-style animates really well, but of course in a discontinuous way since it only accepts predefined values.
Simulator.
Explore the different types of traits corresponding to column-rule-style with the simulator.
Multiple values are not yet supported by , nor by some other browsers.
mi, or four average characters, and thus depends on the chosen font size.
The gutter may or may not have a vertical line.
(3) Text from Wikipedia.
Browsers compatibility with column-rule-style.
Multi-column layouts are relatively well supported by recent browsers, even though there are still some incompatibilities, as you can see in the table below.
However, the column-rule-style property is well recognized in the context of a column layout, but not yet for grids and flex-boxes (2026).
Column 2 of the table only deals with the application of column-rule-style to a multi-column container.
column-rule-style in the case of a multi-column layout.Notes:
(1) Does not support the values avoid (in the column context), avoid-column, and avoid-page for the properties break-after, break-before, and break-inside.
layout
column-rule-styleproperty
Browsers on computers :
Mobile browsers :
Outdated or marginal browsers :

Internet Explorer

UC Browser pour Androïd

Opéra Mobile

QQ Browser

Baidu Browser

Safari

Safari sur IOS

Opéra

Chrome

Edge

Firefox

Chrome pour Androïd

Samsung Internet

Androïd Brower

Firefox pour Androïd

KaiOS Browser

Opéra mini
Historic of the column-rule-style property.
-
CSS Multi-column Layout Module Level 1
This specification describes multi-column layout. It is enough to set the number of columns on the container, and the content will be arranged across the specified number of columns. Of course, other properties allow finer control over multi-column containers.
This specification also defines properties concerning the space between columns and any possible dividing line.Regardingcolumn-rule-styleFirst description of multi-column layouts.
Introduced related properties, includingcolumn-rule-style.June 23, 1999Working Draft.December 17, 2009Candidate Recommendation. -
CSS Gap Decorations Module Level 1.
This module covers the rules that define gutters between columns in a multi-column container (grid, flex-box...). It extends these possibilities to gutters between elements arranged in multiple rows, allowing these features to be used on other types of containers. Several properties define how these gutters should be drawn.
Regardingcolumn-rule-styleThe propertycolumn-rule-styleis now describe in the Gap Decorations module, which will extend its use to grid and flexbox containers.April 17, 2025Working Draft.
See also, about column layouts.
The specification CSS Multi-column Layout Module describes everything related to multi-column layouts. The column-rule-style property is referenced in this module,
as well as the terms below:
Properties:




