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.
It is documented as part of the CSS Backgrounds and Borders specification.
Syntax
/* Usage Example */
.pill-tab {
/* Rounds the top-right corner */
border-top-right-radius: 12px;
background: #f8fafc;
border: 1px solid #e2e8f0;
}
/* Syntax */
border-top-right-radius: length-percentage;
/* Global values */
border-top-right-radius: inherit;
border-top-right-radius: initial;
border-top-right-radius: revert;
border-top-right-radius: revert-layer;
border-top-right-radius: unset;
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.
4+
4+
5+
12+