We use cookies to improve your experience. Learn more in our Privacy policy.
border-color
This CSS property sets the element's border color.
Example
Initial value | Initial values of properties that this property controls |
Applies to | all elements in the page |
Syntax
border-color: #ccc;
Values
Sets the color of the border.
Browser support
border-color | 1 | 12 | 1 | 4 | 3.5 | 1 |