Style columnRuleColor Property

Definition and Usage

columnRuleColor Specifies the color of the rule between columns.

See Also:

CSS3 Tutorial:CSS Multicol

CSS Reference Manual:column-rule-color property

Example

Specify the color of the rule 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 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: 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