CSS if() logic gates
yongsk0066.github.io · Web app · Online
Logic gates built with the CSS if() function
Visit yongsk0066.github.io ↗Source on GitHub ↗Share
- Learning & reference
- Web app
- Day-7 check
- Day-30 check
- Found
- 17 months ago
A demo page that builds logic gates using only the CSS if() function, showing that conditional logic can run inside a stylesheet without scripting. It suits web developers and students curious about what CSS can compute on its own. The post gives little detail beyond the demo itself.
What it does
- Logic gates (AND, OR, NOT, XOR, NAND, NOR) built with CSS if()
- Binary converter and seven-segment display in pure CSS
- Dirac delta function drawn with CSS math
- Uses the experimental CSS if() function
Good for
- Study how CSS can compute logic without JavaScript
- Learn the experimental CSS if() function through working examples
Suits: Web developers and students curious about pure CSS computation.
Worth knowing: Relies on the experimental CSS if() function, which needs Chrome 137 or later
What you can try
Open the page in your browser.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw CSS if() logic gates on , when yongsk0066 posted it to Show HN. There is no first-party release record KipFound is allowed to read for this product, so that listing is the earliest dated evidence on file. KipFound does not guess a release date.
Day-7 and day-30 updates
Day 7 still online
- Product link responded normally (HTTP 200).
- Show HN discussion at check time: 83 points, 23 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 still online
- Product link responded normally (HTTP 200).
- Show HN discussion at check time: 83 points, 23 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Found: yongsk0066 posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was CSS if() logic gates released?
- No dated release record is available. Kip found it on Show HN on 2 Jul 2025.
- What does CSS if() logic gates run on?
- Web.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| Product link check | yongsk0066.github.io |
Stable ID hn-44445091. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
- NandToTetris Emulator in CArchived
Work-in-progress C emulator that builds a computer up from NAND gates
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.