CSS column width Property
CSS column-width Property
The column-width property is used to determine the column width. It is a flexible property. It is similar to min-width property for the browser. Once the browser cannot fit at least two columns at your specified width then the columns will stop and drop into a single column.
Default Value:-
Its default value is auto.
Syntax:-
Its syntax is:- column-width: auto | length | initial | inherit;
Further Explanation:-
Value | Description |
---|---|
auto | The column width will be determined by the browser |
length | A length that specifies the width of the columns. |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |