Fandom

HTML & CSS Wiki

Columns

649pages on
this wiki
Add New Page
Comments0 Share

The CSS columns property was introduced in CSS3. It is a shorthand property for setting the individual values of the column-width and column-count properties. Omitted values are set to their initial values.

Values

Value Description
<column-width> <column-count> See the values for the individual properties.


CSS example:

columns: 12em;      /* column-width: 12em; column-count: auto */
columns: auto 12em; /* column-width: 12em; column-count: auto */
columns: 2;         /* column-width: auto; column-count: 2 */
columns: 2 auto;    /* column-width: auto; column-count: 2 */
columns: auto;      /* column-width: auto; column-count: auto */
columns: auto auto; /* column-width: auto; column-count: auto */

External Links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.