Style columnRuleColor attribute
- 上一页 columnRule
- 下一页 columnRuleStyle
- 返回上一层 HTML DOM Style Object
Definition and usage
columnRuleColor
Property specifies the color of the rule between columns.
See also:
CSS3 tutorial:CSS ɗanar ɗakun ɗaukar
CSS reference manual:column-rule-color attribute
Example
Specify the color of the rule between columns:
document.getElementById("myDIV").style.columnRuleColor = "blue";
Syntax
Return columnRuleColor attribute:
object.style.columnRuleColor
Set columnRuleColor attribute:
object.style.columnRuleColor = "color|initial|inherit"
Property value
Value | Description |
---|---|
color |
the color specified by the rule. 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: | string, representing 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 |
- 上一页 columnRule
- 下一页 columnRuleStyle
- 返回上一层 HTML DOM Style Object