Stil columnRule Özellik
Örnek
Sütunlar arasındaki kuralın genişliğini, stilini ve rengini belirtin:
document.getElementById("myDIV").style.columnRule = "3px outset blue";
Tanım ve Kullanım
columnRule özelliği, tüm columnRule özelliklerini ayarlamak için bir kestirme özelliktir.
columnRule özelliği, sütunlar arasındaki kuralın genişliğini, stilini ve rengini ayarlar.
Sütun kuralı özellikleri herhangi bir sırada:
sütunKuralRenk
sütunKuralStyle
sütunKuralGenişlik
Tarayıcı Desteği
Property | |||||
---|---|---|---|---|---|
columnRule | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Sözdizimi
columnRule özelliğini döndürün:
object.style.columnRule
columnRule özelliğini ayarlayın:
object.style.columnRule = "column-rule-width column-rule-style column-rule-color|initial|inherit"
Mülk değerleri
Value | Description |
---|---|
columnRuleWidth | Sets the width of the rule between columns. Default value is medium |
columnRuleStyle | Sets the style of the rule between columns. Default value is none |
columnRuleColor | Sets the color of the rule between columns. Default value is the color of the element |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Teknik detaylar
Varsayılan değer: | orta renk yok |
---|---|
Geri dönüş değeri: | Bir öğenin sütun kuralı özelliğini temsil eden bir Dize |
CSS Sürümü | CSS3 |
İlgili Sayfalar
CSS3 öğreticisi: CSS3 Çoklu Sütunları
CSS referansı: sütun kuralı özelliği
❮ Stil Nesnesi