HTML and CSS Reference
In-Depth Information
Name
border-color
Values:
<color>{1,4}
Initial value:
Not defined for shorthand properties
Applies to:
All elements
Inherited:
No
Computed value:
See individual properties
Description:
A shorthand property that sets the color for the visible portions of the overall border of an ele-
ment or sets a different color for each of the four sides. Remember that a border's style must
be something other than none or hidden for any visible border to appear.
Examples:
h1 {border-color: purple;}
a:visited {border-color: maroon;}
Search WWH ::




Custom Search