CSS border-right-color Property


The border-right-color property sets the color of an element's right border.

Official Syntax

  • Syntax:

    border-right-color: <color>
  • Initial: currentColor
  • Applies To: all elements
  • Animatable: yes, as a <color>

Notes

The border-right-color property can also inherit the value of the element’s parent’s right border color using the keyword inherit.

Example -