~/talk

Building a Computer with CSS

Talkat CSS Day 2025 · 2025-06-05..06-06· [creative-coding, css]
slides:none on file

Claim: a CPU is rebuilt using only CSS selectors, checkboxes and custom properties and it actually computes. The demo implements seven logic gates with :has and sibling selectors, composes them into working half and full adders, and chains adders into multi‑digit binary addition (demo reaches five digits). The tools are pure CSS—attribute selectors, calc(), mod, trig functions, custom properties—and the result is a slow but functional calculator no JavaScript.

AI-written summary · about

  1. 0:00Building CPU with CSS
  2. 1:03CSS computer challenge origin
  3. 3:10Logic gates in CPUs
  4. 7:24Logic gates with CSS/HTML
  5. 16:38Binary addition in CSS
  6. 22:05Half adder in CSS
  7. 24:14Full adder in CSS
  8. 31:43Is CSS a programming language?
  9. 33:08Q&A: Can it run Doom?
  10. 34:30Q&A: CSS selectors limits
  11. 36:36Q&A: Cool CSS demos
  12. 39:45Q&A: CSS illusions/effects
  13. 43:14Q&A: Math for CSS logic
  14. 45:02Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.