Skip to main content

parse_style_border_width

Function parse_style_border_width 

Source
pub fn parse_style_border_width(
    input: &str,
) -> Result<StyleBorderWidths, CssPixelValueParseError<'_>>
Expand description

Parses border-width shorthand: 1-4 width values

ยงErrors

Returns an error if input is not a valid CSS border-width value.