Pure-CSS Interactive Art Reimagines Tomato-Egg Dish Through Personal Memory
A developer has submitted 'The Home Ratio' to the Frontend Challenge Comfort Food Edition, a CSS art piece inspired by the Chinese dish 番茄炒蛋 (tomato and egg). The artwork lets users choose from three ingredient balances — tomato-led, balanced, or egg-led — causing a CSS-drawn bowl to visually recompose itself along with a handwritten memory note. Built entirely with HTML and CSS, it uses no JavaScript, SVG, images, or external dependencies, relying solely on radio inputs, checkboxes, gradients, and CSS custom properties. The piece is fully accessible, supporting keyboard navigation, touch, and reduced-motion preferences, and reflows cleanly at 320px screen width. OpenAI Codex assisted with development and testing, while the concept, creative direction, and final review were handled by the human author.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in