Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

CSSTidy is a CSS minifier

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 testing
Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 NEWS
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 css_optimiser.php
Octocat-spinner-32 cssparse.css
Octocat-spinner-32 cssparsed.css
Octocat-spinner-32 lang.inc.php
Octocat-spinner-32 optimiser.php
Octocat-spinner-32 phpcs-ruleset.xml
Octocat-spinner-32 template.tpl
Octocat-spinner-32 template1.tpl
Octocat-spinner-32 template2.tpl
Octocat-spinner-32 template3.tpl
README
CSSTidy for PHP 5.3
---

CSSTidy is a CSS minifier 
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

master branch corresponds to the trunk of svn repository and shoul be stabilized
v1.3 branch corresponds to the last stable release published by the author.
It integrates some bugfixes and a 1.3.1 version has been taged
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, lib folder contains the PHP classes (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/>.
Something went wrong with that request. Please try again.