CSS border-bottom-colorProperty
Example
Set bottom border color:
p
{
border-style:solid;
border-bottom-color:#ff0000;
}
Try it Yourself »
Tag definition and usage instructions
The border-bottom-color property sets the bottom border color of an element.
NoteBefore using the border-bottom color property, you must first declare the border style property. The element must have a border before you can change its color.
| Default Value: | not specified |
|---|---|
| Inherited: | no |
| version: | CSS1 |
| JavaScript Syntax: | object object.style.borderBottomColor="blue" |
Browser Support
The numbers in the table indicate the first browser version that supports the property.
| Property | |||||
|---|---|---|---|---|---|
| border-bottom-color | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
Property value
| Value | Description | Testing |
|---|---|---|
| color | Specifies the background color. In CSSColor ValuesFind a complete list of color values. | |
| transparent | Specifies that the border color should be transparent. This is the default. | |
| inherit | Specifies that the border color should be inherited from the parent element. |
Related Articles
CSS Tutorial:CSS Border
CSS Reference Manual:border-bottom property
other extensions