column-count

column-count是一個英語單詞,對應的腳本特性為columnCount。

簡介

column-count

語法

column-count: | auto

默認值:auto

取值

<integer>:

用整數值來定義列數。不允許負值

auto:

根據column-width自定分配寬度

說明

設定或檢索對象的列數

對應的腳本特性為 columnCount

寫法

核心類型寫法

Webkit(Chrome/Safari)-webkit-column-count

Gecko(Firefox)-moz-column-count

Presto(Opera)column-count

Trident(IE)column-count

W3Ccolumn-count

示例

列數及列寬固定: 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.abc

相關詞條

熱門詞條

聯絡我們