Style columnRuleColor Attribute

Definition and Usage

columnRuleColor Specify the color of the rule between columns.

See Also:

CSS3 Tutorial:Beralih Baris CSS

CSS Reference Manual:column-rule-color Attribute

Example

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

for the color specified by the rule.

Please see CSS Color Valuesfor the complete list of possible color values.

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

Technical Details

Default Value: current color of the element.
Return Value: String, represents 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