Announcements‎ > ‎

CSS Beautifier

posted Feb 5, 2012, 5:21 PM by Tyler Akins
I've been given the green light to make an open-source CSS validator and pretty printer.  I've named it PrettyCSS, since I didn't really find anything else with that name.  It will be written in JavaScript and aims to validate CSS 1, 2, 2.1 and 3 (even though it is not yet released).  It will also be a very flexible pretty printer so that people can use it to match nearly any format of CSS that I've encountered on the web.

I've already got a tokenizer working and I am building a set of classes to work together as a parser.

When done, this should be able to work on a server with node.js or something similar as well as in a web browser when embedded into a web page.