border-right-color

Introduction

Used to set the color of the right border.

Examples

Syntax

border-right-color: red;
border-right-color: #ffbb00;
border-right-color: rgb(255, 0, 0);
border-right-color: hsla(100%, 50%, 25%, 0.75);
border-right-color: currentColor;
border-right-color: transparent;

Values

  • transparent The border color is transparent.

  • <color> The specific color of the border.

Formal definition

Initial valuetransparent
Applies toall elements
Inheritedno
Animatableyes

Formal syntax

transparent | <color>

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.