tinycss2

Low-level CSS parser and generator

Version

1.4.0-1
(2025-09-17)

Size

858

bytes

Repository

HaikuPorts
tinycss2 is a low-level CSS parser and generator written in Python: it can parse strings, return objects representing tokens and blocks, and generate CSS strings corresponding to these objects.
Based on the CSS Syntax Level 3 specification, tinycss2 knows the grammar of CSS but doesn’t know specific rules, properties or values supported in various CSS modules.