pub fn parse(css: String) -> Result<HashMap<String, Vec<u8>>, CssError<'static>>
Expand description
Parse CSS into a HashMap of images.
§Examples
use css_image::parse;
let css = r#"body { background-color: #FFFFFF; width: 100px; height: 100px; }"#.to_string();
let result = parse(css);