Menu
This property defines the color of the top border of the element.
This property accepts any color value.
/* Setting a value can be in any color format: */
border-top-color: rgba(243, 193, 56, 0.6);
border-top-color: green;
border-top-color: #ef33ff
color
Any color value can be used.
initial
Global CSS keyword – this sets the property to the default value.
inherit
Global CSS keyword – this sets the property to be inherited from its parent element.
Have a code example of border-top-color
? Submit a codepen.io demo and we'll showcase it here ↴