HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

columns

Description

The columns property for CSS is shorthand for column-width and column-count.

Syntax

CSS

columns: value;

JS

object.style.columns = "value";

Values

<'columns'> = <'column-width'> || <'column-count'>
<'column-width'> = auto | <length [0,∞]>
auto

Automatically specified by the user agent.

<length>

Specifies the length using a number followed by a unit of measurement.

<'column-count'> = auto | <integer [1,∞]>
auto

Automatically specified by the user agent.

<integer>

Specifies one or more decimal digits (0-9).

Examples

1 · column-count

2 · column-width

3 · JS