Functionality in CSS
summary
Claim: a drawable pixel grid lives entirely in CSS. It wires radio buttons to on-screen controls using labels with for so off-DOM inputs toggle state, uses the :checked selector plus a long transition-delay to make color changes persist, flips delay to zero on :hover to “paint,” and varies transition-duration to simulate brush hardness. The page builds many div pixels, maps each radio to a color, and shows a working pure-CSS drawing prototype.
AI-written summary · about








