FANDOM


The CSS column-span property describes how many columns an element spans across. It was introduced in CSS3 and only CSS3-compatible browsers support this property (like Firefox 4.0 and IE9).

Values

Value Description
all The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appears.
1 The element does not span multiple columns.


CSS example:

body {
      column-count:3;
}
 
h2 { 
    column-span:all; 
    background:silver; 
}


Image example:

Column-span Example

External Links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.