CSS rx Property Reference

The CSS rx property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

CSS rx Property Reference

The CSS rx property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

rx overview

The CSS rx property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

rx formal syntax
FieldValue
Formal syntax<length-percentage> | auto
Initial valueauto
Applies tolimitedSVGElementsEllipseRect
InheritedNo
PercentagesreferToSVGViewportWidth
Computed valuepercentageAsSpecifiedOrAbsoluteLength
Animation typebyComputedValueType
Mediavisual
Specification groupScalable Vector Graphics
StatusStandard

Practical examples

These declarations demonstrate valid ways to set rx. The initial and inherit global keywords remain available even when a property-specific value is preferable.

rx live example
CSS .reset-example { rx: initial; } .inherit-example { rx: inherit; } @supports (rx: initial) { .supported { rx: initial; } }

Description

The CSS rx property is a standard property in Scalable Vector Graphics. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: rx
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies