CSS column-gap Property


The column-gap property in CSS is used to specify the amount of gap between the columns in which a given text is divided using the column-count property.

The column-gap property specifies the gap between the columns.

CSS Syntax

column-gap: length|normal|initial|inherit;
Property Values:
  • length: This value specifies the length that will set the gap between the columns.
  • normal: This is the default value. This value is used to specify a normal gap between the columns.
  • initial: This value is used to set the column-gap property to it’s default value.
  • inherit: This value tells the column-gap property to inherit the property from its parent.

Example -