Expand description
§CSS parser
Simple CSS parser and “renderer”
Structs§
- Parse
Error - Rule
- A css rule with a selector and collection of declarations
- Selector
- A css selector
- Style
Sheet - A StyleSheet with a collection of rules
- ToString
Settings - Settings for rendering ASTNodes to CSS
Enums§
Traits§
Functions§
- lex_
source - Lexes the source returning CSSToken sequence byte_offset marks spans
- raise_
nested_ rules - Will “raise” or “unnest” rules in the stylesheet. Mutates StyleSheet