Właściwość wypełnienia kolumny stylu
Przykład
Określ sposób wypełniania kolumn:
document.getElementById("myDIV").style.columnFill = "balance";
Definicja i użycie
Właściwość columnFill określa sposób wypełniania kolumn, zbalansowanych lub nie.
Obsługa przeglądarki
Property | |||||
---|---|---|---|---|---|
columnFill | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Składnia
Zwróć właściwość columnFill:
object.style.columnFill
Ustaw właściwość columnFill:
object.style.columnFill = "balance|auto|initial|inherit"
Wartości nieruchomości
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 |
Szczegóły techniczne
Domyślna wartość: | balansować |
---|---|
Wartość zwrotu: | String, reprezentujący właściwość column-fill elementu |
Wersja CSS | CSS3 |
Powiązane strony
Samouczek CSS3: Wiele kolumn CSS3
Odniesienie CSS: właściwość wypełniania kolumn
❮ Obiekt stylu