Cột kiểu Điền thuộc tính
Ví dụ
Chỉ định cách điền cột:
document.getElementById("myDIV").style.columnFill = "balance";
Hãy tự mình thử »Sự miêu tả
Thuộc tính cộtFill chỉ định cách điền cột, cân bằng hay không.
Hỗ trợ trình duyệt
Property | |||||
---|---|---|---|---|---|
columnFill | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Cú pháp
Trả về thuộc tính cộtFill:
object .style.columnFill
Đặt thuộc tính cộtFill:
object .style.columnFill = "balance|auto|initial|inherit"
Giá trị tài sản
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 |
Chi tiết kỹ thuật
Giá trị mặc định: | THĂNG BẰNG |
---|---|
Giá trị trả về: | Một Chuỗi, biểu thị thuộc tính điền cột của một phần tử |
Phiên bản CSS | CSS3 |
Trang liên quan
Hướng dẫn CSS3: CSS3 nhiều cột
Tham chiếu CSS: thuộc tính điền cột