Name

border-right-width

Synopsis

This sets the width for the right border of an element, which will only take effect if the border’s style is something other than none. If the border style is none, then the border width is effectively reset to 0. Negative length values are not permitted.

Values:

thin | medium | thick | <length> | inherit

Initial value:

medium

Applies to:

all elements

Inherited:

no

Computed value:

absolute length; 0 if the style of the border is none or hidden

Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.