monks/cx
The cx CSS property defines the x-axis center point of an SVG {{SVGElement(“circle”)}} or {{SVGElement(“ellipse”)}} element. If present, it overrides the element’s {{SVGAttr(“cx”)}} attribute.
While SVG the {{SVGAttr(“cx”)}} attribute is relevant to the SVG {{SVGElement(“radialGradient”)}} element, the
cxproperty only applies to {{SVGElement(“circle”)}} and {{SVGElement(“ellipse”)}} elements nested in an {{SVGElement(“svg”)}}. It doesn’t apply to<radialGradient>or other SVG elements nor to HTML elements or pseudo-elements.
Values
pub fn length(value: monks_of_style.Length) -> #(String, String)
- : As an absolute or relative length, it can be expressed in any unit allowed by the CSS {{cssxref(“<length>”)}} data type. Negative values are invalid.
pub const revert_layer: #(String, String)