The border-color
shorthand CSS property sets the color (border-top-color
, border-right-color
, border-bottom-color
, border-left-color
) of an element's border.
The <color>
property may be specified using one, two, three, or four values.
border-top-color
and border-bottom-color
, the second to the border-left-color
and border-right-color
.border-top-color
, the second to the border-left-color
and border-right-color
, the third to the border-bottom-color
.border-top-color
, border-right-color
, border-bottom-color
and border-left-color
in that order (clockwise).Initial value | transparent |
Applies to | all elements |
Inherited | no |
Animatable | yes |
LCD tables only load in the browser