Skip to main content

parse_pixel_value_or_system

Function parse_pixel_value_or_system 

Source
pub fn parse_pixel_value_or_system<'a>(
    input: &'a str,
) -> Result<PixelValueOrSystem, CssPixelValueParseError<'a>>
Expand description

Parse a pixel value that may include system metric references.

Accepts: 10px, 1.5em, system:button-padding, etc.