CSS BORDER-TOP-COLOR
This property controls the color of the top border of an element's rendering box. If no border-color is specified for an element's border, the value of the 'color' property is used instead.
Example
div {
border-top-color: green
}
this is green
Possible Values
inherit: Explicitly sets the value of this property to that of the parent.
transparent: The border is transparent (with any accompanying 'border-width' thickness) - eg: elements below it shine through.
[color]: Sets the border to the indicated color value.
Go Back