CSSTidy
Encyclopedia
CSSTidy is an open source
Cascading Style Sheets parser and optimiser written by Florian Schmitz. C++
and PHP
versions are available. The name derives from HTML Tidy
, since CSSTidy is supposed to be its counterpart for CSS. Currently CSSTidy is able to fix some common errors (like missing units or semicolons) and reformat and compress CSS code.
The current version of CSSTidy is 1.3. This version was noted in the changelog as the last version—the project was abandoned and the author is seeking a new maintainer for the project.
However, the PHP version has continued to get bug fixes and improved unit tests.
Open source
The term open source describes practices in production and development that promote access to the end product's source materials. Some consider open source a philosophy, others consider it a pragmatic methodology...
Cascading Style Sheets parser and optimiser written by Florian Schmitz. C++
C++
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell...
and PHP
PHP
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document...
versions are available. The name derives from HTML Tidy
HTML Tidy
HTML Tidy is a computer program and a library whose purpose is to fix invalid HTML and to improve the layout and indent style of the resulting markup....
, since CSSTidy is supposed to be its counterpart for CSS. Currently CSSTidy is able to fix some common errors (like missing units or semicolons) and reformat and compress CSS code.
The current version of CSSTidy is 1.3. This version was noted in the changelog as the last version—the project was abandoned and the author is seeking a new maintainer for the project.
However, the PHP version has continued to get bug fixes and improved unit tests.
External links
- Online version at GeekLord.com
- Online version at CSSTidyOnline.com
- Source code at GitHub.com
- HTML Purifier Library for cleaning HTML (with a focus on security). Uses CSSTidy for CSS clean-up.