Home › Forums › Design › Load random CSS on page load › Reply To: Load random CSS on page load
November 10, 2016 at 2:43 am #247705
thanks. That will help a lot.
Only thing i have to figure out is how to use the PHP’s mt_rand() function. We will see.
But i am not sure if it works with a additional logo implemented in css.
document.getElementsByTagName(‘body’).className+=’ random-‘ + Math.floor((Math.random() * 3) + 1);