CSS columns Property
The columns property in CSS is used to specify the number of columns and their width. This is a shorthand property that can accept multiple values at the same time.
Syntax
Property Values
Value | Description |
---|---|
auto | The default value. Both the column-width and column-count are set to "auto." |
column-width | This property specifies the minimum width for each column. |
column-count | The maximum number of columns is specified. |
initial | This property is set to its default value. |
inherit | This property is inherited from its parent element. |
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
columns |
50.0
4.0 -webkit- |
52.0
9.0 -moz- |
9.0
3.1 -webkit- |
10.0 |
37.0
15.0 -webkit 11.1 |