peteboere / css-crush

CSS preprocessor.
http://the-echoplex.net/csscrush
MIT License
537 stars 51 forks source link

Is there a option to include variable from php/html #65

Closed blickwert closed 10 years ago

blickwert commented 10 years ago

Hi pete. Is there a option to include variables from php/html? It would be great. With this option, we could create a dynamic css preprocessor :)

for example:

@set {
 @include url('dynamic_variables.php');
}

Thanks, David

peteboere commented 10 years ago

Is this something you can't include from the php? e.g.

csscrush_file('styles.css', array('vars' => array('foo' => 'bar')));
blickwert commented 10 years ago

Very awesome! Thanks for your quickreply