CSS border-bottom-color property
Examples
Set the bottom border color:
p
{
border-style: solid ; Border-bottom-color: # ff0000 ;}
Tag definitions and instructions
border-bottom-color attribute of the element of the bottom border color.
Note the use ofborder-bottom color attributes before, you must be declared border style properties. Element must have a border, you can change the color.
Defaults: | not specified |
---|---|
inherit: | no |
version: | CSS1 |
JavaScript syntax: | object object.style.borderBottomColor = "blue" |
Browser Support
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
border-bottom-color | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
Property Values
值 | 描述 | 测试 |
---|---|---|
color | 指定背景颜色。在CSS 颜色值 查找颜色值的完整列表。 | |
transparent | 指定边框的颜色应该是透明的。这是默认 | |
inherit | 指定边框的颜色,应该从父元素继承 |
related articles
CSS tutorial: CSS Border
CSS Reference: border-bottom property