CSS logic

By Gareth Heyes (@hackvertor)

Published 18 years 3 months ago • Last updated March 22, 2025 ⏱️ < 1 min read

Back to articles

Inspired by the great work of Sirdarckcat on CSK2, I've decided to produce a POC which performs basic logic in pure CSS. The example simply adds the numbers together depending on which checkbox you check. My next experiment will be with loops and then we can start creating some really cool games in CSS :D

Check it out here:- CSS Logic

Back to articles