Developer Builds CSS-Only Salvadoran Pupusa Scene With Day-Night Light Switch
A developer from El Salvador has created a fully CSS-rendered illustration of a traditional pupusa table as a submission to the Frontend Challenge Comfort Food Edition. The artwork depicts pupusas — El Salvador's national dish of stuffed corn tortillas — served with curtido and tomato salsa, evoking the atmosphere of a nighttime street food stall. Built using only CSS gradients, blend modes, and border-radius with just 15 lines of JavaScript for class toggles, the piece features no images, SVG, or external libraries. Interactive buttons let users pour salsa over the pupusas or switch the scene to a candlelit night mode using a single overlay div with mix-blend-mode. The project also incorporates accessibility features including ARIA roles, labeled buttons, and a prefers-reduced-motion setting that freezes animations rather than removing them entirely.
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