column-rule
Summary
Sets the width, style, and color of the rule between columns.
Overview table
- Initial value
see individual properties- Applies to
- multi-column elements
- Inherited
- No
- Media
- visual
- Animatable
- No
- CSS Object Model Property
columnRule- Percentages
- N/A
Syntax
column-rule: column-rule-colorcolumn-rule: column-rule-stylecolumn-rule: column-rule-widthcolumn-rule: transparent
Values
- column-rule-width
- Value of the column-rule-width property.
- column-rule-style
- Value of the column-rule-style property.
- column-rule-color
- Value of the column-rule-color property.
- transparent
- Indicates rule is transparent.
Examples
Makes 3 columns with 4px dashed green column-rule.
#columns {
column-count: 3;
column-rule: 4px dashed green;
}
Syntax
column-rule: column-rule-width || column-rule-style || [ column-rule-color | transparent ]
See also
Related articles
Multi-Column
column-rule
Related pages
- CSSStyleDeclarationCSSStyleDeclaration
- currentStylecurrentStyle
- stylestyle
addressblockQuotedivdlfieldSetformnoFramesnoScriptolppre- tabletable
uldddtlitBodytdtFootthtHeadtrbuttondelinsmapobjectscript
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]