border-color

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

border-color: [ <color> | transparent ]{1,4} | inherit
Initial: value of the color property
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual

DOM

Δ

[window.]document.getElementById("element-id").style.borderColor = "border-top-color border-right-color border-bottom-color border-left-color";

Example | color

Δ

Example | transparent

Δ

Example | DOM

Δ

References

Δ