CSS column-gap property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS column-gap defines the space between two columns. And column-rule will appear in the middle (if present) of gap.
Negative values are not allowed.
Syntax
column-gap : normal | +ve length
Property values
+ve length
-
+ve length defines space between two columns. 50px means there is 50px space between two columns.
- Try it
column-gap: 50px;
Applicable to
It applies to multi-column container.