CSS Border-Color Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Specifies the border color of an element. Used as a shortcut to determine the entire border color in one rule.
Syntax
border-color: [value];
Possible values
- [color]
- transparent
- inherit
Initial Value
Uses the 'color' property
Applies To
All elements
Inherited
Yes
Media
Visual
Example
H2 {border-color: #f0f0f0;}