column-gap property CSS Reference

Definition and Usage

The column-gap CSS property sets the size of the gap between columns for elements which are specified to display as a multi-column element.

  • Initial normal
  • Applies to multicol elements
  • Inherited no
  • Media visual
  • Computed Value the absolute length or the keyword normal
  • Animatable yes, as a length
  • Canonical order the unique non-ambiguous order defined by the formal grammar


Formal syntax: <length> | normal
column-gap: 3px
column-gap: 2.5em
column-gap: normal
column-gap: inherit


Is a keyword indicating to use the browser-defined default spacing between columns. The specification, and most modern browsers follow it, recommends this keyword to be equal to a length of 1em.
Is a <length> value defining the size of the gap between columns. It must not be negative, but may be equal to 0.


.content-box {
  border: 10px solid #000000;
  column-count: 3;
  column-gap: 20px;


Desktop browsers

FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support (Yes)-webkit1.5 (1.8)-moz1011.13.0 (522)-webkit

Mobile browsers

FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic supportNA(Yes)NANANA

Relative articles