Style columnRule Property
Style columnRule Property
The columnRule property is a shorthand property. It is used for setting the width, style, and color of the given element. Properties included are:-
- columnRuleColor
- columnRuleStyle
- columnRuleWidth
Syntax:-
Its syntax is:- object.style.columnRule OR object.style.columnRule = column-rule-width column-rule-style column-rule-color|initial|inherit
Return:-
Its return is:- string having column-rule property of an element
Further Explanation:-
Value | Description |
---|---|
columnRuleWidth | Sets width between columns. |
columnRuleStyle | Sets style between columns. |
columnRuleColor | Sets color between columns. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |