Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

column-span

这篇翻译不完整。请帮忙从英语翻译这篇文章

概述

The column-span CSS property makes it possible for an element to span across all columns when its value is set to all. An element that spans more than one column is called a spanning element

初始值none
适用元素in-flow block-level elements
是否是继承属性
适用媒体visual
计算值as specified
是否适用于 CSS 动画
正规顺序the unique non-ambiguous order defined by the formal grammar

语法

Formal syntax: none | all
column-span: none;
column-span: all;

column-span: inherit;

取值

none
The element does not span multiple columns.
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. The element establishes a new block formatting context.

例子

h1, h2 {
  column-span: all;
}

规范

Specification Status Comment
CSS Multi-column Layout Module
column-width
Candidate Recommendation  

浏览器兼容性

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes)-webkit 未实现 10 11.1+ (Yes)-webkit
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes)-webkit (Yes)-webkit 未实现 ? 11.1+ (Yes)-webkit

文档标签和贡献者

 此页面的贡献者: fscholz, Sebastianz, FredWe
 最后编辑者: fscholz,