The border-right-style property sets the line style of an element’s physical right border. You can also set it through the shorthands border-right or border-style.
The initial value is none, so nothing draws until you pick a visible style such as solid or dashed. Width and color come from border-right-width and border-right-color (color defaults to currentColor). It is not inherited. Unlike border-inline-end-style, it does not flip in RTL layouts.
Baseline · Widely available.
Not deprecated and not experimental. Corner joins between different styles are left undefined by the spec, so mixed styles at corners can look slightly different across browsers.
On a normal box, hidden looks like none. With border-collapse: collapse, hidden can win conflicting table border styles.
Compatibility
Browser Support
border-right-style is a browser CSS property for the box model. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
border-right-style
Supported in all modern browsers and Internet Explorer for the standard line-style keywords.
100%Line styles
Google ChromeAll versions
Full support
Mozilla FirefoxAll versions
Full support
Apple SafariAll versions
Full support
Microsoft EdgeAll versions
Full support
OperaAll versions
Full support
Samsung InternetAll versions
Full support
Internet ExplorerAll versions
Full support
border-right-styleWidely supported
Bottom line: Safe everywhere for none, solid, dashed, dotted, double, and the 3D keywords. Corner joins between mixed styles are unspecified. It is not a runtime API.
Remember
Key Takeaways
Role: choose how the physical right border looks — solid, dashed, dotted, and more.
Initial value:none. No visible right border until you set a style.
Needs width: especially for double and 3D styles. Color defaults to currentColor.
Physical: always the right side. Use border-inline-end-style for logical trailing edges.
One line:border-right-style makes the right edge visible — pick a keyword other than none, then tune width and color.
Frequently Asked Questions
It sets the line style of the physical right border only, such as solid, dashed, or dotted. Width and color come from other properties or from a shorthand.
The initial value is none, so no right border appears until you choose a visible style.
none and hidden draw nothing. You also need a non-zero border-right-width. Color defaults to currentColor if you omit it.
Both look the same on a normal box. hidden mainly matters in tables with border-collapse: collapse, where it can win border conflicts.
border-right-style always styles the physical right edge. border-inline-end-style follows writing direction, so it can move to the left in RTL layouts.
It is Baseline and widely available in all modern browsers and Internet Explorer. It is a browser CSS property, not a Node.js feature.