The column-width
property in
We can also use the
column
property to set the column count and width only once.
column-width: auto|length|initial|inherit;
auto
: It is the default value. The width of the column is specified by the browser automatically.
length
: It is used to define the width of the column.
initial
: This sets the value to its default value.
inherit
: This inherits property from its parent value.
The following is the basic
In this example, we can see that we have set the width between the columns as 200px
.
We can also set the width according to our choice.