Style columnRuleColor property
- Forrige side columnRule
- Næste side columnRuleStyle
- Gå tilbage til niveauet over HTML DOM Style Objekt
Definition and usage
columnRuleColor
Property specifies the color of the rule between columns.
See also:
CSS3 tutorial:CSS flere kolonner
CSS reference manual:column-rule-color property
Example
Specify the color of the rule between columns:
document.getElementById("myDIV").style.columnRuleColor = "blue";
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 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 |
- Forrige side columnRule
- Næste side columnRuleStyle
- Gå tilbage til niveauet over HTML DOM Style Objekt