It has been a while. This project that implemented logic gates in CSS is 10+ years old:
https://github.com/SLaks/Silon
Linked from here:
https://gwern.net/turing-complete#surprisingly-turing-comple...