borderLeftColor 属性设置或返回元素左边框的颜色。
Property | |||||
---|---|---|---|---|---|
borderLeftColor | Yes | Yes | Yes | Yes | Yes |
返回 borderLeftColor 属性:
object.style.borderLeftColor
设置 borderLeftColor 属性:
object.style.borderLeftColor
= "color|transparent|initial|inherit"
Value | Description |
---|---|
color | Specifies the color of the left border. Look at CSS Color Values for a complete list of possible color values. Default color is the current color of the element |
transparent | The color of the left border is transparent (underlying content will shine through) |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
默认值: | 当前颜色 |
---|---|
返回值: | 一个字符串,表示元素左边框的颜色 |
CSS版本 | CSS1 |
CSS教程:CSS 边框
CSS 参考:左边框颜色属性
HTML DOM 参考:边境属性
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!