border-top-right-radius

Defines the curve of the physical top-right corner. It can take one or two values to create circular or elliptical curves.

Quick example

.pill-tab {
  /* Rounds the top-right corner */
  border-top-right-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

Quick facts

Initial value
0
Inherited
No
Applies to
all elements (UAs not required when collapse)
Animation type
lpc

Values

length-percentage

border-top-right-radius Browser Support

Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

4+
4+
5+
12+
ESC