Style columnRuleColor- Eigenschaft
Beispiel
Geben Sie die Farbe der Linie zwischen den Spalten an:
document.getElementById("myDIV").style.columnRuleColor = "blue";
Definition und Verwendung
Die Eigenschaft columnRuleColor gibt die Farbe der Linie zwischen Spalten an.
Browser-Unterstützung
Property | |||||
---|---|---|---|---|---|
columnRuleColor | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Syntax
Geben Sie die Eigenschaft columnRuleColor zurück:
object.style.columnRuleColor
Legen Sie die Eigenschaft columnRuleColor fest:
object.style.columnRuleColor = "color|initial|inherit"
Eigenschaftswerte
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 |
Technische Details
Standardwert: | Die aktuelle Farbe des Elements |
---|---|
Rückgabewert: | Ein String, der die Eigenschaft column-rule-color eines Elements darstellt |
CSS-Version | CSS3 |
Verwandte Seiten
CSS3-Tutorial: Mehrere Spalten in CSS3
CSS-Referenz: Eigenschaft column-rule-color
❮ Style-Objekt