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.
It is documented as part of the CSS Backgrounds and Borders specification.
Syntax
/* Usage Example */
.right-accent {
/* Physical right border color */
border-right-color: #ef4444;
border-right-style: solid;
border-right-width: 4px;
}
/* Global values */
border-right-color: inherit;
border-right-color: initial;
border-right-color: revert;
border-right-color: revert-layer;
border-right-color: unset;
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.
1+
1+
1+
12+