border-top-left-radius
Defines the radius curve of the physical top-left corner. While logical alternatives exist, this remains the most common way to round specific corners in CSS.
It is documented as part of the CSS Backgrounds and Borders specification.
Syntax
/* Usage Example */
.tip-box {
/* Rounds only the top-left corner */
border-top-left-radius: 30px;
background: #fdf2f8;
}
/* Syntax */
border-top-left-radius: length-percentage;
/* Global values */
border-top-left-radius: inherit;
border-top-left-radius: initial;
border-top-left-radius: revert;
border-top-left-radius: revert-layer;
border-top-left-radius: unset;
border-top-left-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+