The column-count
property defines the number of columns of an element.
column-count: number | auto;
.mydiv {
column-count: 3;
}
In this example, the element mydiv
will have 3 columns.
number: sets the given values the number of columns of an element.
auto: sets the number of columns through other properties. (default value)