Let's try something different on nettuts+ today. Any designer who has worked with large CSS files will agree that its major weakness is its inability to use variables. In this article, we will learn how to implement variables by using PHP and Apache's URL rewrite mod. Preface This technique is somewhat simple. We will ask Apache to redirect any stylesheet to a specific PHP script. This script will
![How to Add Variables to Your CSS Files | Envato Tuts+](https://cdn-ak-scissors.b.st-hatena.com/image/square/d4e482e82e8cef881b99bf3d544ddd8ae225c24d/height=288;version=1;width=512/https%3A%2F%2Fcdn.tutsplus.com%2Fnet%2Fuploads%2Flegacy%2F185_varsInCSS%2Fcss3.jpg)