The column-rule CSS property is shorthand for column-rule-color, column-rule-style, and column-rule-width.
object.style.columnRule = "value";
<'column-rule'> = <'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>
<'column-rule-width'> = <line-width>
<line-width> = <length [0,∞]> | thin | medium | thick
Specifies the length using a number followed by a unit of measurement.
A thin line.
A medium line.
A thick line.
<'column-rule-style'> = <line-style>
<line-style> = none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
A dashed line. A series of square-ended dashes.
A dotted line. A series of round dots.
A double line. Two parallel solid lines with some space between them.
A grooved line. Looks as if it were carved in the canvas.
A hidden line. Same as none, but has different behavior in the border conflict resolution rules for border-collapsed tables.
An inset line. Looks as if the content on the inside of the border is sunken into the canvas.
An outset line. Looks as if the content on the inside of the border is coming out of the canvas.
A ridged line. Looks as if it were coming out of the canvas.
A single line.
<'column-rule-color'> = <color>
Specifies the color using a keyword or a numerical specification.
© 2021 Osbo Design