Incrementing in CSS

Back to articles

hackvertor

Author:

Gareth Heyes

@hackvertor

Published: Sun, 02 Dec 2007 22:15:59 GMT

Updated: Sat, 22 Mar 2025 15:38:08 GMT

I've continued my experiments with loops in CSS and tried to find a method to allow counter-increment through a loop. The technique uses a random seed to create a unique url each time (obviously the seed can be improved), it then uses meta refreshes to create the required history to increment the value. This technique hopefully could be used to create more advanced CSS applications. Check it out here:-

CSS loop increment demo Source

Back to articles