Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

CSS preprocessor. Written in PHP

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 misc
Octocat-spinner-32 plugins
Octocat-spinner-32 Aliases.ini
Octocat-spinner-32 CHANGELOG.txt
Octocat-spinner-32 CssCrush.boilerplate
Octocat-spinner-32 CssCrush.php
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 Plugins.ini
Octocat-spinner-32 Prepend.css
Octocat-spinner-32 README.md
Octocat-spinner-32 cli.php
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; ?>" 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.