Specifies the number of columns an element should be divided into.
Overview tableauto
columnCount
column-count: auto
column-count: count
This example shows how to render text within the section.newspaper element in three columns.
#columns {
-moz-column-count: 3;
-webkit-column-count: 3;
column-count: 3;
}
Using auto for column-count will allow as many columns as are necessary or able to be generated.
div {
column-count: auto;
column-width: 100px;
}
Notes Remarks
The actual column count may vary from the value specified due to available space. To ensure the specified value is used, all length property values of the multi-column element must be specified.
Syntaxcolumn-count: count | auto
column-count
column-count
Microsoft Developer Network: Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4