The CSS border-top-color property allows you to set the color of a top border.
Note: You will also need to specify border-top-style and border-top-width before your border-top-color is displayed.
| Syntax: | border-top-color: <value> |
| Possible Values: |
|
| Initial Value: | Uses the 'color' property |
| Applies to: | All elements. |
| Inherited: | Yes |
| Media: | Visual |
| Example: | div.top-color {border-top-color:#ff9900}
|
| Try it yourself! |