Thuộc tính cột kiểu dángRuleColor
Thí dụ
Chỉ định màu của quy tắc giữa các cột:
document.getElementById("myDIV").style.columnRuleColor = "blue";
Định nghĩa và Cách sử dụng
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 columnRuleColor:
object.style.columnRuleColor
Đặt thuộc tính columnRuleColor:
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ả lại: | Một chuỗi, đại diện cho thuộc tính cột-quy tắc-màu của một phần tử |
Phiên bản CSS | CSS3 |
Các trang liên quan
Hướng dẫn CSS3: Nhiều cột CSS3
Tham chiếu CSS: thuộc tính column-rule-color
❮ Đối tượng phong cách