propjockey/css-sweeper
View on GitHub ↗ ★ 856 HTML
MineSweeper implemented in CSS + HTML using the Space Toggle trick (no JavaScript!)
6 mentions on Hacker News by 6 people: 2 stories, 4 comments · first 2020-07-22 · latest 2022-07-28
20082026
-
…than that since they can be changed at runtime which allows e.g. minesweeper in pure HTML and CSS: https://github.com/propjockey/css-sweeper
comment by account42 · 2022-07-28 · in Help pick a syntax for CSS nesting -
The comments from James0x57 led me to a github repo wherein he discusses this hack https://github.com/propjockey/css-sweeper > Space Toggle has been independently discovered a number of times > @anatudor probably the first to discover it -…
comment by rendall · 2020-10-14 · in The - -var: ; hack to toggle multiple values with one custom property -
…how much web-components could be pushed using only CSS via things like the "space toggle" trick ( https://github.com/propjockey/css-sweeper ). Though I guess that couldn't emit events and the like.
comment by elcritch · 2020-09-30 · in The Failed Promise of Web Components -
…nasty even with CSS variable programming which can apparently be used for interactive games ( https://github.com/propjockey/css-sweeper ). As I looked into things writing for this post I couldn't come up with a non-JS way to transition…
comment by lawik · 2020-09-15 · in Tracking users via CSS -
▲ 3
MineSweeper implemented in CSS and HTML and no JavaScriptstory by fanf2 · 2020-07-23 · 1 comment
-
▲ 390
Show HN: MineSweeper implemented in 100% CSS and HTML – no JavaScriptstory by JaneOri · 2020-07-22 · 92 comments