Variables in your CSS via PHP

Randomize CSS styles using PHP. A good one to look at if you want to want to automatically change your site’s look and feel on the fly.
| Variables in your CSS via PHP
There are a number of ways to use PHP with other web languages and technologies. I myself use PHP in some of my JS scripts and sometimes even in CSS files.

Here’s another PHP script to automatically adjust the contrast of foreground colors so they can viewed on top of your background colors:
CSS Colors: Take Control Using PHP

2 Responses to “Variables in your CSS via PHP”
  1. Douglas Clifton 20 December 2005 at 5:30 am #

    I noticed you have a post about my article “Building Modular XHTML Web Pages with PHP.” Thanks!

    Regarding this thread, here is another article I wrote, published on Digital Web Magazine:

    http://www.digital-web.com/articles/generating_dynamic_css_with_php/

  2. vinu 20 December 2005 at 8:42 am #

    Thanks for the update Douglas

Leave a Reply