The column-span
property in
column-span: none|all|initial|inherit;
none
: This is the default value. It is used to specify that the element should span across only one column.
all
: It is used to specify that the element should span across all the columns.
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 made 2 columns and we span the content between these two columns.
We can also make more columns and span the content between multiple columns.