Style columnRuleColor property

Definition and usage

columnRuleColor Property specifies the color of the rules between columns.

See also:

CSS3 tutorial:Molteplici colonne CSS

CSS reference manual:column-rule-color property

Example

Specify the color of the rules between columns:

document.getElementById("myDIV").style.columnRuleColor = "blue";

Try it yourself

Syntax

Return columnRuleColor property:

object.style.columnRuleColor

Set columnRuleColor property:

object.style.columnRuleColor = "color|initial|inherit"

Property value

Value Description
color

specified rule colors.

Please see CSS color valuesfor a complete list of possible color values.

initial Sets this property to its default value. See initial.
inherit Inherits this property from its parent element. See inherit.

Technical details

Default value: current color of the element.
Return value: A string that represents the column-rule-color property.
CSS version: CSS3

Browser support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
50.0 10.0 52.0 10.0 37.0