columns:<' column-width '> || <' column-count '>
默认值:看每个独立属性
适用于:除table外的非替换块级元素, table cells, inline-block元素
继承性:无
定义多列中每一列的宽度
column-width:length | auto
默认值:auto
适用于:除table外的非替换块级元素, table cells, inline-block元素
继承性:无
定义多列中,分成多少列
column-count:integer | auto
默认值:auto
适用于:除table外的非替换块级元素, table cells, inline-block元素
继承性:无
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices.
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices.
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices.
列与列直接的间隙宽度
column-gap:length | normal
默认值:normal
适用于:定义了多列的元素
继承性:无
间隙30px
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices.
column-rule:<' column-rule-width '> || <' column-rule-style '> || <' column-rule-color '>
默认值:看每个独立属性
适用于:定义了多列的元素
继承性:无
定义列与列之间边框的宽度
column-rule-width:length | thin | medium | thick
默认值:medium
适用于:定义了多列的元素
继承性:无
定义边框的样式,和border-style类似
column-rule-style:none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
默认值:none
适用于:定义了多列的元素
继承性:无
column-rule-width:10px; column-rule-style: solid; column-rule-color:red;
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices.
定义一个横穿所有列的标签
column-span:none | all
默认值:none
适用于:除浮动和绝对定位之外的块级元素
继承性:无
column-span:all;
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
column-span:all;
On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices.
统一列高,但是浏览器表现不一致
column-fill:auto | balance
默认值:auto
适用于:定义了多列的元素
继承性:无
决定一列的前面是否新起一列
column-break-before:auto | always | avoid | left | right | page | column | avoid-page | avoid-column
默认值:auto
适用于:块级元素
继承性:无
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
决定后面是否新起一列
column-break-after:auto | always | avoid | left | right | page | column | avoid-page | avoid-column
默认值:auto
适用于:块级元素
继承性:无
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
定义自己本身是否可以进行多列分布
column-break-inside:auto | avoid | avoid-page | avoid-column
默认值:auto
适用于:块级元素
继承性:无
第二列强制断行,所以新起了一列,并没有跟在第一列后面
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.
This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.