Styl columnFill Property
Příklad
Určete, jak vyplnit sloupce:
document.getElementById("myDIV").style.columnFill = "balance";
Definice a použití
Vlastnost columnFill určuje, jak vyplnit sloupce, vyvážené nebo ne.
Podpora prohlížeče
Property | |||||
---|---|---|---|---|---|
columnFill | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Syntax
Vraťte vlastnost columnFill:
object.style.columnFill
Nastavte vlastnost columnFill:
object.style.columnFill = "balance|auto|initial|inherit"
Hodnoty vlastností
Value | Description |
---|---|
balance | Default value. Columns are balanced. Browsers should minimize the variation in column length |
auto | Columns are filled sequentially, and they will have different lengths |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Technické údaje
Výchozí hodnota: | Zůstatek |
---|---|
Návratová hodnota: | Řetězec představující vlastnost sloupce-výplň prvku |
Verze CSS | CSS3 |
Související stránky
CSS3 tutoriál: CSS3 Multiple Columns
CSS reference: vlastnost column-fill
❮ Objekt stylu