CSS Panic: Game written in HTML/CSS - no Javascript
jsdo.it
jsdo.it
At any rate, this is very impressive and interesting. I would have sworn it was a Flash game if I didn't know better.
The crocodiles are radio buttons and animations are controlled via the :checked pseudo-selector, very clever.
But we're back to the days of "works best in so-and-so browser".
(no FF3/4 or IE9 or Opera11 support)
The great thing now is, for most regular old websites, I can just write the CSS and expect it to work reasonably well in any of the latest generation browsers.
How is the randomness produced?
However, the game does have a feel of randomness do the the different speeds of sliding and the multiple instances of an alligator sliding in/out during a cycle. It's very nifty.
Snarkiness aside, I feel the pain behind your complaint. That's one reason I think CSS can be harder than actual programming: you have all these unknowns and contingencies to manage.