border-right-color

Sets the color of the physical right border. Useful for specific side-styling where you don't want the side to flip automatically in RTL languages.

Quick example

.right-accent {
  /* Physical right border color */
  border-right-color: #ef4444;
  border-right-style: solid;
  border-right-width: 4px;
}

Quick facts

Initial value
currentcolor
Inherited
No
Applies to
all elements
Animation type
color

border-right-color Browser Support

Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

1+
1+
1+
12+
ESC