The column-gap
property in
column-gap: length|normal|initial|inherit;
length
: It specifies the length of the gap we want between the columns.
normal
: It is the default value, and specifies that there is a normal gap between 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 have made a grid and set the column-gap
as 50px
. We can also set the gap according to our choice.