Menu Samaritan's Purse

BORDER-COLOR

The border-color property is shorthand for border-top-color, border-right-color, border-bottom-color, and border-left-color.

SYNTAX

CSS

border-color: value;

JS

object.style.borderColor = "value";

VALUES

<'border-color'> = <color>{1,4}
<color>

Specifies the color using a keyword or a numerical specification.

INITIAL

currentColor

EXAMPLES

COLOR

JS

INTERNAL

border

border-bottom

border-bottom-color

border-bottom-style

border-bottom-width

border-left

border-left-color

border-left-style

border-left-width

border-right

border-right-color

border-right-style

border-right-width

border-style

border-top

border-top-color

border-top-style

border-top-width

border-width

EXTERNAL

World Wide Web Consortium (W3C)