Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CSS preprocessor. Written in PHP
PHP

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
misc
plugins
Aliases.ini
CHANGELOG.txt
CssCrush.boilerplate
CssCrush.php
LICENSE.txt
Plugins.ini
Prepend.css
README.md
cli.php
composer.json

README.md

CSS Crush

CSS Crush is an extensible PHP based CSS preprocessor that aims to alleviate many of the hacks and workarounds necessary in modern CSS development.

Overview

http://the-echoplex.net/csscrush

Quick start

<?php

require_once 'CssCrush/CssCrush.php';
$global_css = csscrush_file( '/css/global.css' );

?>

<link rel="stylesheet" href="<?php echo $global_css; ?>" media="all" />

Submitting bugs

If you think you've found a bug, please visit the Issue tracker — https://github.com/peteboere/css-crush/issues — and create an issue explaining the problem and expected result.

Submitting patches

To contribute code and bug fixes fork this project on Github, make changes to the code in your fork, and then send a "pull request" to be reviewed for inclusion.

Something went wrong with that request. Please try again.