CSS3 column-rule-style attribute, columnrulestyle
The CSS column-rule-style attribute is used to specify the style of the delimiter set between columns through the column rule attribute in a multi-column layout.column-rule
A vertical separator line between a column and a column. You can use the column-rule-width attribute to set the width of the separator line. Use the column-rule-color attribute to set the color of the separator line. Usecolumn-rule-style
Property to set the line style of the separator.
. Browser support
. Syntax column-rule-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset. Parameter
- None: do not display the separation line between columns. The configured separator width and color attributes are ignored.
- Hidden: do not display the separation line between columns. The configured separator width and color attributes are ignored.
- Dotted: the rectangle with rounded corners is displayed as the separation line between columns. The radius of the rounded corner is equal to half the width of the separator line.
- Dashed: The separation line between columns is displayed as a dotted line consisting of a right rectangle.
- Solid: The separation line between columns is displayed as a straight line.
- Double: The separation line between columns is displayed as two straight lines, and there is some gap between the two lines. The sum of the width and gap width of the two straight lines is equal to the width specified by the column-rule-width attribute.
- Groove: The separation line between columns is displayed as an inner embossed effect.
- Ridge: The separation lines between columns are displayed as convex relief.
- Inset: The separation line between columns is displayed as an ininclined line.
- Outset: the separation line between columns is displayed as an external slope.
column-rule-style
The initial attribute value isnone
.
. Application Scope
column-rule-style
Attributes can be applied to all elements with multiple columns.
Apply in an elementcolumn-rule-style
The Property Code is as follows:
.columns { columns: 12em ; column-rule- width : 5px ; column-rule-style: solid ; column-rule- color : #0099CC ; } |