The border-top-right-radius property rounds the physical top-right corner of an element. One value makes a circular arc; two values make an elliptical corner.
Not deprecated and not experimental. Supported across modern browsers and Internet Explorer 9+. Prefer the unprefixed property; old -webkit- / -moz- names are legacy only.
Use a square box. Equal width and height keep a single percentage circular.
Set 50%. Horizontal % uses width; vertical % uses height.
Watch the scale. On a larger square, the same 50% makes a larger arc.
Non-square tip. On a wide rectangle, one percentage value becomes an ellipse because the axes differ.
Edge Cases & Pitfalls
If the wrong corner rounds, or nothing changes, check these first.
shorthand
border-radius can reset this longhand
A later border-radius shorthand resets corners you set earlier. Declare the longhand after the shorthand, or set all corners in the shorthand.
logical
Physical top-right ignores RTL
In right-to-left layouts the rounded corner still stays on the screen’s top-right. Use border-start-end-radius when the curve should follow reading direction.
%
Percentages follow width and height
A horizontal percentage uses the box width; a vertical percentage uses the height. On a non-square box, 50% is not a perfect quarter-circle unless both axes match.
clip
Backgrounds follow the rounded corner
Background color and images are clipped to the curve. Fine-tune that with background-clip when the fill should stop at the padding or content box.
table
Collapsed tables are unreliable
User agents are not required to apply border radii on table / inline-table when border-collapse: collapse. Internal table elements are also undefined.
Compatibility
Browser Support
border-top-right-radius is a browser CSS property for rounded corners. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
border-top-right-radius
Chrome 4+, Firefox 4+, Safari 5+, Edge 12+, Opera 10.5+, Internet Explorer 9+. Unprefixed support is universal in current browsers.
97%Global support
Google Chrome4+
Full support
Mozilla Firefox4+
Full support
Apple Safari5+
Full support
Microsoft Edge12+
Full support
Opera10.5+
Full support
Samsung Internet4+
Full support
Internet Explorer9+
Full support
border-top-right-radiusWidely supported
Bottom line: Safe for physical top-right rounding in current browsers. Prefer the unprefixed property. Vendor prefixes are legacy. It is not a runtime API.
Remember
Key Takeaways
Role: round the physical top-right corner only.
Values: one length/percentage for a circle; two values for an ellipse.
Physical: always top-right on the screen — not writing-mode aware.
Initial value:0. Not inherited. Shorthand can reset it.
One line: use border-top-right-radius when only the physical top-right corner should curve.
Frequently Asked Questions
It rounds the physical top-right corner of an element. The other three corners stay square unless you set them separately.
The initial value is 0, so the top-right corner is square until you set a length or percentage.
border-top-right-radius always rounds the physical top-right corner. border-start-end-radius follows writing-mode and direction, so in RTL it may round the top-left corner instead.
Yes. One value makes a circular arc. Two values set the horizontal and vertical radii for an elliptical corner, for example 40px 12px.
Yes. Percentages refer to the corresponding dimension of the border box: the horizontal axis uses the width, and the vertical axis uses the height. Negative values are invalid.
It is Baseline Widely available: Chrome 4+, Firefox 4+, Safari 5+, Edge 12+, Internet Explorer 9+. It is a browser CSS property, not a Node.js feature.