3 ms·
How can one implement game logic and AI in CSS? I thought CSS can do nothing much other than styling except mouse hover property which gives some interactive el
by protez 15y ago
How can one implement game logic and AI in CSS?
I thought CSS can do nothing much other than styling except mouse hover property which gives some interactive elements without JS.
- rsoto 15y agoIt has no AI, the croc's movement is scripted. CSS can do a lot more than changing style on mouse hover. Check out the pseudo-elements, the transitions, the :target selector.