248 of 313 menu

The columns property

The columns property specifies both a width and number of columns in multi-column text. Is a shorthand property for column-count and column-width. Default value: auto auto (?).

Syntax

selector { columns: width number; }

The order of the properties does not matter. One of them can be omitted.

See also

  • the column-gap property
    that specifies a gap between columns
  • the column-rule property
    that specifies a border between columns
  • the column-span property
    that specifies a number of columns an element should span
hiuzkknlpl