The column-count property describes the ideal number of columns into which the content of the element will be flowed. An integer value sets the ideal number of columns into which the content of the element will be flowed.

  • Initial valueauto
  • Applies toBlock level elements
  • InheritedNo
  • MediaVisual
  • Computed valueSpecified value
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.columnCount
Formal syntax: <integer> | auto

column-count: 4;
column-count: auto;
  • <integer>An integer value that specifies the number of columns in the multi-column element. Values must be greater than 0. When column-width is specified with column-count and both have non-auto values, the integer value defines the maximum number of columns.
  • autoIs a keyword indicating that the number of columns should be determined by other CSS properties, like column-width.
.class {
   column-count: 2; 
}
noFirefoxnoExplorernoChromenoSafari11.1+Opera


Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.