Style columns Property
Style columns Property
The columns property is a shorthand property. Two properties included in it are:-
- columnWidth
- columnCount
Syntax:-
Its syntax is:- object.style.columns OR object.style.columns = auto|column-width column-count|initial|inherit
Return:-
Its return is:- string having columns property of an element
Further Explanation:-
Value | Description |
---|---|
auto | Sets both column width and column-count to auto. |
columnWidth | The width of columns |
columnCount | The number of columns |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |