Developer builds CSS-only poutine art with 50 fries, curds, and animated gravy
A developer created a detailed CSS art piece of poutine for DEV Community's Frontend Challenge: Comfort Food Edition, using no images, SVG, or canvas. The artwork features 50 fries, 13 cheese curds, and 11 gravy patches, with every element rendered purely through HTML and CSS. Each fry uses custom CSS variables to control its position, rotation, size, and individual browning level via color-mix() in the oklab color space. The only JavaScript present is roughly 20 lines powering a single 'Add more gravy' button that replays an animation and adds a cheese curd. The developer also shared key technical lessons, including why vmin is unreliable for responsive CSS art and why defining a scene-relative unit produces more consistent results across screen sizes.
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