rx
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.
Usage example
rect.card {
/* Rounds the horizontal corners of the SVG rectangle */
rx: 15px;
} Initial value
0
Inherited
No
Applies to
limitedSVGElementsEllipseRect
Animation type
byComputedValueType
rx Browser Support
Widely available Since 2020 94% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.
Safe to use without fallbacks.
43+
69+
17.4+
79+