Thuộc tính cột kiểuRuleColor
Ví dụ
Chỉ định màu của quy tắc giữa các cột:
document.getElementById("myDIV").style.columnRuleColor = "blue";
Hãy tự mình thử »Sự miêu tả
Thuộc tính ColumnRuleColor chỉ định màu của quy tắc giữa các cột.
Hỗ trợ trình duyệt
Property | |||||
---|---|---|---|---|---|
columnRuleColor | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Cú pháp
Trả về thuộc tính cộtRuleColor:
object .style.columnRuleColor
Đặt thuộc tính cộtRuleColor:
object .style.columnRuleColor = "color |initial|inherit"
Giá trị tài sản
Value | Description |
---|---|
color | Specifies the color of the rule. Look at CSS Color Values for a complete list of possible color values |
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: | Màu hiện tại của phần tử |
---|---|
Giá trị trả về: | Một Chuỗi, biểu thị thuộc tính màu-quy tắc 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 màu-quy tắc cột