スタイルcolumnRuleColorプロパティ
例
列間のルールの色を指定します。
document.getElementById("myDIV").style.columnRuleColor = "blue";
定義と使用法
columnRuleColorプロパティは、列間のルールの色を指定します。
ブラウザのサポート
Property | |||||
---|---|---|---|---|---|
columnRuleColor | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
構文
columnRuleColorプロパティを返します。
object.style.columnRuleColor
columnRuleColorプロパティを設定します。
object.style.columnRuleColor = "color|initial|inherit"
プロパティ値
Value | Description |
---|---|
color | Specifies the color of the rule. Look at CSS Color Values for a complete list of possible color values |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
技術的な詳細
デフォルト値: | 要素の現在の色 |
---|---|
戻り値: | 要素のcolumn-rule-colorプロパティを表す文字列 |
CSSバージョン | CSS3 |
関連ページ
CSS3チュートリアル:CSS3複数列
CSSリファレンス:column-rule-colorプロパティ
❮スタイルオブジェクト