Function get_shorten_component

Source
pub fn get_shorten_component(full_name: &str) -> Option<&'static str>
Expand description

Gets the abbreviation for a given full CSS property name.

§Arguments

  • full_name - The full CSS property name.

§Returns

  • Option<&'static str> - The abbreviation if found, or None if not found.