ScanSkill

column-count

The column-count property defines the number of columns of an element.

Syntax

column-count: number | auto;

Example

.mydiv {
  column-count: 3;
}

In this example, the element mydiv will have 3 columns.

column-count

Property Values

number: sets the given values the number of columns of an element.

auto: sets the number of columns through other properties. (default value)