Example

A simple column-gap property example:

Laboratory

description & Usage

Determines the existence of a table with columns with the column-gap property.

Informations

# Description
Default Value normal
Inherited no
Animatable yes
Version CSS Box Alignment Module Level 3
JavaScript syntax object.style.columnGap="50px"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
column-gap (in Multiple Columns)
column-gap (in Grid)
column-gap (in Flexbox)

Syntax

Values

Values Description
length Specifies the length of the space between the columns.
normal is the default value; Creates a normal gap between the columns.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.