CSS Property:
border-top-color:
red
blue
#000000
#ff9900
rgb(0,0,0)
rgb(255,130,255)
rgba(255,130,255,0.3)
transparent
initial
Result:
CSS Code:
div { border-style:solid;
border-width:5px;
border-top-color:
red
;
}
Click the property values above to see the result
W3Schools.com
- Play it