CSS columns Property

The columns property is a shorthand property for:

  • column-width
  • column-count

The column-width part will define the minimum width for each column, while the column-count part will define the maximum number of columns. By using this property, the multi-column layout will automatically break down into a single column at narrow browser widths, without the need of media queries or other rules.

CSS Syntax

columns: auto|column-width column-count|initial|inherit;

Supported Browsers: The browsers supported by column-rule-color Property are listed below;

  • Firefox: 52.0, 2.0 -moz-
  • Google Chrome: 50.0, 4.0 -webkit-
  • Internet Explorer: 10.0
  • Safari: 9.0, 3.1 -webkit-
  • Opera: 37.0, 15.0 -webkit-, 11.1

Example -