Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's absolutely brilliant how rotation and movement control is achieved by changing the animation-play-state value using the :active pseudo-class on button elements.

https://github.com/BenjaminAster/CSS-Minecraft/blob/main/mai...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: