The scale CSS property allows you to specify scale transforms individually and independently of the {{CSSxRef(“transform”)}} property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const none: #(String, String)
- : Specifies that no scaling should be applied.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for scale
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 scale.
It will be wrapped in var() and have -- prepended.