Re:CSS Variables published as First Public Working Draft
by SquareWheel on Wednesday April 11, 2012 @09:19PM
(#3830513)
Maybe this is a bad practice, but I've just been using PHP inside CSS for quite a while. You may need to tweak your .htaccess to allow PHP in .css files, assuming you're on Apache.
I did some basic testing and it didn't seem to hurt resource usage, but it wasn't a large site or anything.
[ Parent
| on HN ]
There are no comments on this comment yet.