Row-rule-style - CSS Property
Summary of characteristics of the row-rule-style property
none | solid | double | dashed | dotted | groove | ridge | inset | outsetnoneDiscrète: during an animation, the row-rule-style property passes from one value to another without transition.Per grammar: serialization in the order of syntax.Syntax diagram of row-rule-style.
row-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:
- The syntax can be repeated by separating the values with a comma.
Description of the row-rule-style property.
row-rule-style defines the type of netting to separate lines, in a flex container, a grid container, or any other container that displays blocks in rows.
These types of netting are the same as those of borders.
This property has an equivalent for columns: column-rule-style, which works the same way.
Also refer to shorthand property row-rule and, for a summary on rule, to rule.
Values for row-rule-style.
- row-rule-style: none;
This value indicates that there is no line between the rows. It's the default value.
ABCDEFGHIJKLMNOPQRSTUVWXXZrow-rule-style:none; - row-rule-style: dotted;
Many predefined values are accepted by the property. These are the same as for borders.
solid
A simple line.dotted
A series of dots.dashed
A series of dashes.(1) The
doubleeffect and 3D effects are only visible if the line thickness is at least 3 pixels.(2) The
insetandoutsetvalues are poorly suited torow-rule-style, since they assume lines intersecting at right angles. When used withrow-rule-style, they only lighten or darken the line color or are equivalent togrooveandridge.ABCDEFGHIJKLMNOPQRSTUVWXXZrow-rule-style:inset; - row-rule-style: dotted, dashed; row-rule-style: repeat(3, dotted), solid;
Multiple values can be repeated by separating them with a comma. Each value is applied to a net in order. If there are more nets than values, the list is looped through again starting from the beginning.
The
repeat()function is also supported. Check out the description of this function for more information.ABCDEFGHIJKLMNOPQRSTUVWXXZrow-rule-style:repeat(2,dotted), double; - row-rule-style: initial; (
none) row-rule-style: inherit; row-rule-style: revert; row-rule-style: revert-layer; row-rule-style: revert-rule; row-rule-style: unset;Common values are presented on these pages:
initial,inherit,revert,revert-layer,revert-rule,unset.
Animation of the row-rule-style property.
The animation of row-rule-style is necessarily discrete (discontinuous) since the property only accepts predefined values.
Below is an animation of row-rule-style on a grid container.
Simulator.
This simulator is built on a flex-box container. With this simulator, you can adjust the value of row-rule-style and also play around
with the dimensions of the flex container.
Browsers compatibility with row-rule-style.
For now (2026), support for row-rule-style is pretty limited: only , , and a few other browsers recognize it.
row-rule-style property that sets the line style for row separators in a grid, flex-box, etc.row-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 row-rule-style property.
-
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.
Regardingrow-rule-styleExtension of the propertycolumn-rule-styleto apply it to the row separation lines.April 17, 2025Working Draft.
See also, about gap decorations.
The newly created CSS Gap Decorations Module. sets all the properties related to decorative borders, in the context of a grid container, flex-box, or any other container that displays blocks in rows or columns. These properties are the following:



