企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## border-right-color 属性 ### 属性定义及使用说明 border-right-color属性设置一个元素的的右边框的颜色。 **注意**请始终把 border-style 属性声明到 border-color 属性之前。元素必须在您改变其颜色之前获得边框。 JavaScript 语法:object object.style.borderRightColor="blue" * * * ## 浏览器支持 ![Internet Explorer](https://7n.w3cschool.cn/statics/images/course/compatible_ie.gif "Internet Explorer")![Firefox](https://7n.w3cschool.cn/statics/images/course/compatible_firefox.gif "Firefox")![Opera](https://7n.w3cschool.cn/statics/images/course/compatible_opera.gif "Opera")![Google Chrome](https://7n.w3cschool.cn/statics/images/course/compatible_chrome.gif "Google Chrome")![Safari](https://7n.w3cschool.cn/statics/images/course/compatible_safari.gif "Safari") 所有主要浏览器都支持border-right-color属性。 **注意**:Internet Explorer6(和更早版本)不支持"transparent"属性值。 **注意**:任何版本的 Internet Explorer (包括 IE8)都不支持属性值 "inherit"。 * * * ## Property Values | 值 | 描述 | | --- | --- | | *color\_name* | 规定颜色值为颜色名称的边框颜色(比如 red)。 | | *hex\_number* | 规定颜色值为十六进制值的边框颜色(比如 #ff0000)。 | | *rgb\_number* | 规定颜色值为 rgb 代码的边框颜色(比如 rgb(255,0,0))。 | | transparent | 默认值。边框颜色为透明。 | | inherit | 规定应该从父元素继承边框颜色。 | * * * ## 相关文章