https://blog.kovah.de/en/5cf4a-program-little-games-css/ Una Kravets explains how to use counter-increment, counter-reset and checkboxes to make little games with CSS. Kevin Woblick

Program little games with CSS only

You’re able to program little games with CSS only. Yes, CSS only! That’s really crazy. Una Kravets explains how to use counter-increment, counter-reset and checkboxes to make little games in her blog post. I mean this is also pretty useful for any other types of user interaction where you would have to use JavaScript.

Example Game

See the Pen Pure CSS (Sass) Carnival Game by Una Kravets (@una) on CodePen.

This Blog happily accepts Webmentions

0 Mentions
0 Reposts
Likes