Example

A simple column-count property example:

Laboratory

description & Usage

We determine the number of required columns with the column-count property.

Informations

# Description
Default Value auto
Inherited no
Animatable yes
Version CSS3
JavaScript syntax object.style.columnCount = "3"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
column-count

Syntax

Values

Values Description
number Specifies the number of columns in which content is located.
auto is the default value; The number of columns is determined by other properties.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.