HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

border-top-color

Description

The border-top-color property for CSS sets the color of the top border of a box.

Syntax

CSS

border-top-color: value;

JS

object.style.borderTopColor = "value";

Values

<'border-top-color'> = <color>
<color>

Specifies the color using a keyword or a numerical specification.

Initial

currentColor

Examples

1 · color

2 · JS