Estilo propriedade columnRuleWidth
Exemplo
Altere a largura da regra entre as colunas:
document.getElementById("myDIV").style.columnRuleWidth = "10px";
Definição e uso
A propriedade columnRuleWidth especifica a largura da regra entre as colunas.
Suporte ao navegador
Property | |||||
---|---|---|---|---|---|
columnRuleWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Sintaxe
Retorne a propriedade columnRuleWidth:
object.style.columnRuleWidth
Defina a propriedade columnRuleWidth:
object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"
Valores de propriedade
Value | Description |
---|---|
medium | Default value. Defines a medium rule |
thin | Defines a thin rule |
thick | Defines a thick rule |
length | Specifies the width of the rule |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Detalhes técnicos
Valor padrão: | médio |
---|---|
Valor de retorno: | Uma String, representando a propriedade column-rule-width de um elemento |
Versão CSS | CSS3 |
Páginas relacionadas
Tutorial CSS3: várias colunas CSS3
Referência CSS: propriedade column-rule-width
❮ Objeto de estilo