CSSTidy is a CSS minifier
HTML PHP Other
Permalink
Failed to load latest commit information.
Docs
testing
.gitignore ignore .idea (PHPStorm) Mar 13, 2014
COPYING Per Flo's emailed consensus, added change to LGPL (2.1), authorship f… Aug 3, 2007
NEWS Added key Feb 17, 2008
README Version 1.5.2 : with some release notes in README Mar 13, 2014
class.csstidy.php
class.csstidy_optimise.php
class.csstidy_print.php 2 additional tests about indenting in @media, and a fix to avoid to f… Nov 28, 2015
composer.json make Composer generate an autoloader for cssTidy Dec 11, 2013
css_optimiser.php Parse error Sep 8, 2012
cssparse.css Update cssparse.css Mar 13, 2014
cssparsed.css
data.inc.php New CSS3 units Mar 13, 2014
lang.inc.php Coding conventions Mar 13, 2014
template.tpl template file updates May 19, 2006
template1.tpl template file updates May 19, 2006
template2.tpl
template3.tpl template file updates May 19, 2006

README

CSSTidy
---

CSSTidy is a CSS minifier 

v1.5.2
  is PHP 5.4+ compliant, removes use of GLOBALS, fixes some bugs, integrates CSS3 units
  and now available on https://packagist.org/packages/cerdic/css-tidy

v1.4 is the new version coming from master branch (corresponds to the initial trunk of svn repository) after beeing stabilized

v1.3 branch corresponds to the last stable relase published by the author.
It integrates some bugfixes and a 1.3.1 version has been taged
Since the original project (http://csstidy.sourceforge.net/index.php) has been suspended
here is the import of https://csstidy.svn.sourceforge.net/svnroot/csstidy on 2010-11-14

Only PHP version is here maintained

---

CSSTidy

Original Tracker : 
http://sourceforge.net/tracker/?group_id=148404&atid=771415

css_optimiser.php is the web-interface, css_parser.php contains the PHP class (CSSTidy).

This class represents a CSS parser which reads CSS code and saves it in an array.
In opposite to most other CSS parsers, it does not use regular expressions and
thus has full CSS2 support and a higher reliability. The downside of not using regular expressions
is a lower speed though.
Additional to that it applies some optimisations and fixes to the CSS code.
An online version should be available here: http://cdburnerxp.se/cssparse/css_optimiser.php


	Copyright 2005, 2006, 2007 Florian Schmitz

  CSSTidy is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation; either version 2.1 of the License, or
  (at your option) any later version.
  
  CSSTidy is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.