News for hackers. Stuff that matters.
Re:More, a CSS compiler by SquareWheel on Wednesday May 09, 2012 @09:33AM (#3948430)
By augmenting CSS with PHP, do you mean something like this?

  p {color: <?=$mainColor?>}
And then just setting .htaccess (or whatever) to allow PHP execution in .css files?
Re:More, a CSS compiler by r0s on Wednesday May 09, 2012 @08:09PM (#3951173)
You can just process main.css.php (or whatever)

Here's some of my (old crappy)code:

  color: <?php echo $foreground1; ?>;
  font-family: <?php echo $font2; ?>;
But I'm sure there's libs out there that make it really easy and pretty.