Skip to main content
← Back to library
Preview of CSS Logic Gates
Site

Community Finds · CSS experiments

CSS Logic Gates

Demonstration implementing AND, OR, NOT, XOR gates plus half adders, full adders and multiplexers using only the CSS if() function.

Why it’s a gem

Best practical demonstration of what CSS if() actually unlocks beyond toy examples

Visit yongsk0066.github.io
Author
Yongseok (@yongsk0066)
Type
Website
License
free
Added
Aug 17, 2026
Domain
yongsk0066.github.io
cssif-functionexperimentlogic
Browse more:Community FindsCSS experiments#css#if-function#experiment#logic

More from CSS experiments

Preview of Sky as a CSS Gradient

Sky as a CSS Gradient

Page that renders the current sky at your approximate location as a live CSS gradient, refreshing every minute.

Unknownfree
Preview of Layoutit Terra

Layoutit Terra

Procedural terrain generator that renders landmass, biomes and elevation entirely through CSS grid cells rather than canvas.

Unknownfree

the Vibing Company®

the Vibing Company®

Est. for tomorrow.

hello@vibing.inc

Navigate

  • Home
  • Services
  • Pricing
  • About
  • Hiring
  • Contact
  • Start a project

Library

  • The Vibing Library
  • New this week
  • Best-of round-ups
  • Creators
  • Submit a project
  • Featured badge
  • Design generators
  • UI components
  • AI skills & MCP
  • Motion & animation
  • Shaders & WebGL
  • Starters to clone

Guides

  • All guides
  • What is vibe coding
  • Lovable vs Cursor
  • Build an MCP server
  • Export Lovable Cloud data
  • iOS Safari white bar fix

Elsewhere

  • Developer docs & API
  • For agents
  • llms.txt
  • OpenAPI
  • MCP manifest
  • X
  • Terms
  • Refunds
  • Privacy
  • Cookies
  • Imprint
© 2026 the Vibing Company®