The column-rule property in CSS is used to specify the width, style, and color of the rules between the columns.
column-rule: column-rule-width column-rule-style column-rule-color| initial|inherit;
- column-rule-width: This value is used to set the width of the rule between the columns. The default value of this property-value is medium.
- column-rule-style: This value is used to set the style of the rule between columns. The default value of this property-value is none.
- column-rule-color: This value is used to set the color of the rule between columns. The default value of this property value is the color of the element.
- initial: This value is used to set default value of this column-rule property.
- inherit: This value tells the column-rule property to inherit the property from its parent.
Supported Browsers: The browsers supported by column-rule Property are listed below;
- Google Chrome: 50.0, 4.0 -webkit-
- Internet Explorer: 10.0
- Firefox: 52.0, 2.0 -moz-
- Opera: 37.0, 15.0 -webkit-, 11.1
- Safari: 9.0, 3.1 -webkit-
- HTML | DOM Style columnRule Property
- CSS | transition-property Property
- CSS | all Property
- CSS | right Property
- CSS | top Property
- CSS | nav-up property
- CSS | nav-right property
- CSS | nav-down property
- CSS | cursor property
- CSS | The object-fit Property
- CSS | left Property
- CSS overflow-y Property
- CSS | transition Property
- CSS | clip Property
- CSS | perspective Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.