A CSS parser for Pharo, providing a model and tools to read, interpret, and manipulate CSS stylesheets.
To install a version of CSSParser, use one the following scripts inside a playground or in your project baseline.
Metacello new
baseline: 'CSSParser';
repository: 'github://pharo-contributions/CSSParser:main';
onConflictUseLoaded;
loadspec baseline: 'CSSParser' with: [ spec repository: 'github://pharo-contributions/CSSParser:main' ].CSSParser provides an object model for CSS syntax and structure.
Originally inspired by the HTML/CSS Parser for Squeak.
