Skip to main content

parse_stylesheet

Function parse_stylesheet 

Source
pub fn parse_stylesheet(css: &str) -> Result<Stylesheet, EpubError>
Expand description

Parse a CSS stylesheet string into a Stylesheet

Handles the v1 subset: tag selectors, class selectors, tag.class selectors, and the supported property set.