rx
Widely availableSince 202496% of users
Sets the horizontal radius of an SVG <ellipse> or the corner rounding radius of a <rect>. It allows you to create rounded rectangles directly from CSS.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since March 2024. Widely available since September 2026.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
0- Inherited
- No
- Applies to
- SVG <ellipse> and <rect> elements
- Animation type
- byComputedValueType
Quick example
rect.card {
/* Rounds the horizontal corners of the SVG rectangle */
rx: 15px;
}rx browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2024.Safe to use without fallbacks.
Usage96%of people can use this4% use a browser without it.
Browsers
43+
69+
17.4+
79+Mobile
43+Android
79+Android
17.4+iOS