monks/ry

The ry CSS property defines the y-axis, or vertical, radius of an SVG {{SVGElement(“ellipse”)}} and the vertical curve of the corners of an SVG {{SVGElement(“rect”)}} rectangle. If present, it overrides the shape’s {{SVGAttr(“ry”)}} attribute.

The ry property only applies to {{SVGElement(“ellipse”)}} and {{SVGElement(“rect”)}} elements nested in an {{SVGElement(“svg”)}}. It doesn’t apply to other SVG elements or HTML elements or pseudo-elements.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)
  • : Absolute or relative lengths can be expressed in any unit allowed by the CSS {{cssxref(“<length>”)}} data type. Negative values are invalid.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for ry

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for ry. It will be wrapped in var() and have -- prepended.

Search Document