border-color

The border-color property sets the color of the border on different sides of an element. The property allows you to set the border color for all sides of the element at once or only for the specified ones.

Syntax



background-color: color;