Use CSS animation for game in js (just for fun)

Tetragius on June 17, 2019

When an element moves with the help of CSS animation, we can read its real coordinates in the JS code and use it in calculations. Thus css is e... [Read Full]
markdown guide

If you added this to CodePen you could embed the code and demo into your post FYI 👍

Its a cool little game, you can jump through the floor by head-butting the ceiling though!

code of conduct - report abuse