CSS3 column-rule-color プロパティ
完全な CSS3 リファレンス
例
Specify the color of the rule between columns:
div
{
-moz-column-rule-color:#ff0000; /* Firefox */
-webkit-column-rule-color:#ff0000; /* Safari and Chrome */
column-rule-color:#ff0000;
} |
Try it yourself »
More examples at the bottom of this page.
|
ブラウザ・サポート

column-rule-color property is only supported in Opera.
Firefox supports an alternative, the -moz-column-rule-color property.
Safari and Chrome support an alternative, the -webkit-column-rule-color property.
定義と用法
column-rule-color property specifies the color of the rule between columns.
| デフォルト値: |
black |
| 継承: |
no |
| バージョン: |
CSS3 |
| JavaScript構文: |
object.style.columnRuleColor="#ff00ff" |
構文
| column-rule-color: color; |
| 値 |
説明 |
| color |
Specifies the color of the rule. Look at CSS Color Values
for a complete list of possible color values |
 |
Try it Yourself - Examples |
Column-count
Divide the text in a div element into three columns.
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 リファレンス
|