CourtBouillon

Authentic people growing open source code with taste

tinycss2

All the web developers know the CSS format, but do they really know all the subtleties of its syntax? tinycss2 provides a CSS parser that is able to extract everything you want from stylesheets.

Manipulate your Stylesheets

Blocks, units, selectors, comments… Parsing stylesheets gives you access to high-level entities that you can manipulate and play with. Thanks to the included CSS generator, parsed tokens can also be transformed back into clean stylesheet.

Based on Latest CSS Standards

CSS is changing fast, specifications constantly evolve without people even noticing. Don’t worry: tinycss2 follows the latest syntax modifications and gives you a complete state-of-the-art parser.

Fully Tested and Cross-Platform

Each version of tinycss2 is extensively and automatically tested on major platforms (Windows, macOS and Linux).