CSS · Properties — Scalable Vector Graphics

cx

The CSS cx property. Initial value: 0. Not inherited.

Syntax
cx: <length> | <percentage>

Example

Try it

Notes

Media: visual. Applies to: limitedSVGElementsEllipse. Computed value: percentageAsSpecifiedOrAbsoluteLength.

More in this group

cy d fill fill-opacity fill-rule marker-end marker-mid marker-start

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course