Crass – A CSS parser based on the CSS Syntax Module Level 3 spec.
| Use Case | Command | Description |
|---|---|---|
| Parse a CSS string | Crass.parse(css_string) |
Returns a parse tree (array of nodes). |
| Parse CSS property declarations | Crass.parse_properties(properties_string) |
Returns a list of property nodes. |
VERSION – [not documented]parse – Parses a CSS stylesheet string and returns a parse tree.parse_properties – Parses a CSS property declaration block and returns a list of property nodes.Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 18:37 @216.73.216.177
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format