Widely availableSupported across all major browsers. Safe to use in production.

Overview

The column-span CSS property controls whether a child element extends across all columns of a multi-column parent.

Browser support

Feature Desktop Mobile
Chrome
Edge
Firefox
Safari
Chrome Android
Safari iOS
50
12
71
9
50
9
all
6
12
71
5.1
18
5
none
6
12
71
5.1
18
5
1+Supported (version) Not supported Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Notes 1 item(s)
Compatibility
  • Available with a vendor prefix: -webkit- (6)
Notes 1 item(s)
Compatibility
  • Available with a vendor prefix: -webkit- (12)
Notes 1 item(s)
Compatibility
  • Available with a vendor prefix: -webkit- (5.1)
Notes 1 item(s)
Compatibility
  • Available with a vendor prefix: -webkit- (18)
Notes 1 item(s)
Compatibility
  • Available with a vendor prefix: -webkit- (5)

Syntax

CSS
.article {
  columns: 3;
}
.article h2 {
  column-span: all;
  text-align: center;
}

Live demo

heading that allwidth

CSS heading that allwidth demo.

PreviewFullscreen

separator

CSS separator demo.

PreviewFullscreen

column-span: none

CSS Column-span: none demo.

PreviewFullscreen

Use cases

  • Using column-span

    The column-span CSS property controls whether a child element extends across all columns of a multi-column parent.

Cautions

  • May not be supported in older browsers.

Accessibility

  • Make sure visual changes are conveyed appropriately to assistive technology.

Powered by web-features