Here's the style.php source code in my above example:
<?php
header("Content-Type: text/css");
header("Cache-Control: no-store");
?>
body {
margin: 0;
padding: 1em 2em;
font: medium arial, sans-serif;
<?php
printf(" background-color: rgb(%d%%, %d%%, %d%%);\n",
rand(80,100), rand(80,100), rand(80,100));
printf(" color: rgb(%d%%, %d%%, %d%%);\n",
rand(0,60), rand(0,40), rand(0,20));
?>
}
h1 {
<?php
printf(" background-color: rgb(%d%%, %d%%, %d%%);\n",
rand(80,100), rand(80,100), rand(80,100));
printf(" color: rgb(%d%%, %d%%, %d%%);\n",
rand(0,20), rand(0,60), rand(0,40));
?>
}
h2 {
<?php
printf(" background-color: rgb(%d%%, %d%%, %d%%);\n",
rand(80,100), rand(80,100), rand(80,100));
printf(" color: rgb(%d%%, %d%%, %d%%);\n",
rand(0,40), rand(0,20), rand(0,60));
?>
}