CSS3 column-count プロパティ
完全な CSS3 リファレンス
例
Divide the text in the div element into three columns:
div
{
-moz-column-count:3; /* Firefox */
-webkit-column-count:3; /* Safari and Chrome */
column-count:3;
} |
Try it yourself »
More examples at the bottom of this page. |
ブラウザ・サポート

column-count property is only supported in Opera.
Firefox supports an alternative, the -moz-column-count property.
Safari and Chrome support an alternative, the -webkit-column-count property.
定義と用法
column-count property specifies the number of columns an element should
be divided into.
| デフォルト値: |
auto |
| 継承: |
no |
| バージョン: |
CSS3 |
| JavaScript構文: |
object.style.columnCount=3 |
構文
| column-count: number|auto; |
| 値 |
説明 |
| number |
The optimal number of columns into which the content of the element will
be flowed |
| auto |
The number of columns will be determined by other properties, like e.g.
"column-width" |
 |
Try it Yourself - Examples |
Column-gap
Divide the text in a div element into three columns, and specify a 30 pixels gap
between the columns.
Column-rule
Specify the width, style and color of the rule between columns.
関連ページ
CSS3 チュートリアル: CSS3 Multiple Columns
完全な CSS3 リファレンス
|