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
CHANGELOG
CssCrush.aliases
CssCrush.boilerplate
CssCrush.php
CssCrush.plugins
README.md

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" type="text/css" href="<?php echo $global_css; ?>" />

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.