Style columnRuleColor attribute

Definition and usage

columnRuleColor Property specifies the color of the rules between columns.

See also:

CSS3 tutorial:Οι πολλαπλές στήλες CSS

CSS reference manual:column-rule-color attribute

Example

Specify the color of the rules between columns:

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

Try it yourself

Syntax

Return columnRuleColor attribute:

object.style.columnRuleColor

Set columnRuleColor attribute:

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

Property value

Value Description
color

specified rules color.

See CSS color valuesfor the 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: string, indicating the column-rule-color attribute.
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