Style columnRuleColor property
- Vorherige Seite columnRule
- Nächste Seite columnRuleStyle
- Zurück zur vorherigen Ebene HTML DOM Style-Objekt
Definition and usage
columnRuleColor
Property specifies the color of the rule between columns.
See also:
CSS3 Tutorial:CSS-Mehrfachspalten
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. Please 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 |
- Vorherige Seite columnRule
- Nächste Seite columnRuleStyle
- Zurück zur vorherigen Ebene HTML DOM Style-Objekt