CSS Column-Width Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

The ‘column-width’ property describes the optimal column width. The actual column width may be wider (to fill the available space), or narrower (only if the available space is smaller than the specified column width).

Syntax

column-width: [value];

Possible values

  • [length]
  • auto

Initial Value

Auto

Applies To

Block-level elements

Inherited

No

Media

Visual

Example

body {
  column-width: 20em;  
}


View All CSS Properties