CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS column rule Property

CSS column-rule Property



The column-rule property is used to set the width, style, and color of the rule between columns. It is a shorthand property for:-

  1. column-rule-width
  2. column-rule-style
  3. column-rule-color




Its syntax is:- column-rule: column-rule-width column-rule-style column-rule-color | initial | inherit;


Default Value:-


Its default is:- medium none color


Further Explanation:-


Value Description
column-rule-width Sets the width of the rule between columns.
column-rule-style Sets the style of the rule between columns.
column-rule-color Sets the color of the rule between columns.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS