Re:Why I Write CSS in JavaScript
by jandrese on Monday February 18, 2019 @03:05PM
(#19193892)
People implement Doom in CSS. It's clearly more than just some style notes for the browser.
[ Parent
| on HN ]
I think you may be confusing that with something else. You can't create a complex game with just CSS. I'd love to be wrong but provide a link.
https://codepen.io/chrissimmons/pen/bqBabr
It's off brand, but the technology is roughly the same.
Another game: https://thenextweb.com/dd/2018/05/08/some-madman-built-a-mar...
The first one looks like a big part of the functionality is from the JavaScript file. It's crashing my iPhone so I'm having trouble digging into it too much. The second link, however, does seem to be done in pure css. Impressive! Thank you for the links. I stand corrected.