New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →


Like border-color, but for the right border only.

border-right-color: transparent;

Applies a transparent color to the right border. The right border will still take up the space defined by the border-width value.

border-right-color: red;

You can use one of the 140+ color names.

border-right-color: #05ffb0;

You can use hexadecimal color codes, rgb(), rgba(), hsl(), hsla()...