The column-width property sets the width of the columns. 

Syntax:

selector { 

         column-width: auto | length | initial | inherit;

}

Values:

Possible values for column-width property are:

  • auto; This is default value and it lets browser define the width.
  • length; A length unit that specify the width of a column (pixels, ems…)
  • initialinherit

Example

Example with the column-width property in paragraphs:

 

›› go to examples ››