CSS border-right-color Property Reference

The CSS border-right-color property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

CSS border-right-color Property Reference

The CSS border-right-color property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

border-right-color overview

The CSS border-right-color property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

border-right-color formal syntax
FieldValue
Formal syntax<color>
Initial valuecurrentcolor
Applies toallElements
InheritedNo
Percentagesno
Computed valuecomputedColor
Animation typecolor
Mediavisual
Specification groupCSS Backgrounds and Borders
StatusStandard

Practical examples

These declarations demonstrate valid ways to set border-right-color. The initial and inherit global keywords remain available even when a property-specific value is preferable.

border-right-color live example
CSS .reset-example { border-right-color: initial; } .inherit-example { border-right-color: inherit; } @supports (border-right-color: initial) { .supported { border-right-color: initial; } }

Related references

Description

The CSS border-right-color property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: border-right-color
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies