monks/r

The r CSS property defines the radius of a circle. It can only be used with the SVG {{SVGElement(“circle”)}} element. If present, it overrides the circle’s {{SVGAttr(“r”)}} attribute.

The r property only applies to {{SVGElement(“circle”)}} 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 r

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 r. It will be wrapped in var() and have -- prepended.

Search Document