![]() |
VOOZH | about |
The border-top-color property in CSS is used to define the color of the top border of an element. It controls the visual appearance of the border by specifying its color.
Syntax:
border-top-color: color | transparent | initial | inherit; Default Value : The current color of the element
Property Values:
Example: Here, we are using the border-top-color: color property.
Example: Here, we are using the border-top-color: transparent; property.
Example: Here, we are using the border-top-color: initial; property.