5 ms·
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 elem
by Kholin 1y ago
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/main.css#L249-L272 https://github.com/BenjaminAster/CSS-Minecraft/blob/main/mai...