Web4College

CSS column-count property

src

Description

CSS column-count property represents the number of columns within a block.

Syntax

column-count : auto | integer

Property values

autoDefault

In this case, the number of columns depend upon the column-width.

column-count: auto;
Try it

integer

3

integer value determines the number of columns in a block. 3 means three columns in a block.

column-count: 3;
Try it

Applicable to

It applies to multi-column container.