corner-shape
Limited availability73% of usersExperimental
A master shorthand property that allows you to set the shape of all four corners of an element. This is the cornerstone of the new 'CSS Borders 4' features for advanced corner styling.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox or Safari yet, so not every major browser supports it.
The old way and the modern waySee the snippet: Corner shapes beyond rounded borders →
Old way 10 lines
.card {
clip-path: polygon(
0% 10%,
2% 4%,
4% 2%,
10% 0%
/* ...16 more points */
);
}
/* Or use an SVG mask image */Modern 4 lines
.card {
border-radius: 2em;
corner-shape: squircle;
}See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
See individual properties- Inherited
- No
- Applies to
- all elements
Quick example
.fancy-box {
/* Experimental: sets shapes for all 4 corners */
/* top-left, top-right, bottom-right, bottom-left */
corner-shape: angle round angle round;
}Related snippet
Corner shapes beyond rounded bordersLayout →corner-shape browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage73%of people can use this27% use a browser without it.
Browsers
139+
139+Mobile
139+Android
Interop 2027 candidate. Tracked for Interop 2027. Official focus areas publish early 2027; proposals are open through September 2026. See Interop 2027 →