CodePen Challenge Lab

November 2026

November's theme is the newest CSS. Week 1 is random(): entries 01 to 05 roll something new every time you reload, and Circuit and Lava Lamp keep changing while they animate. Week 2 is animation-timeline, so entries 06 and 07 move as you scroll. Week 3 is sibling-index() and sibling-count(). None of them use JavaScript.

This browser supports random(). Reload and this number should change:

This browser doesn't support random() yet. The entries will still show, but each one stays on a single fixed result.

01 Burned Out A neon RESTAURANT sign with dead letters. One roll decides which still work, so it might read RAT, RANT, RESTART or REAR. Fully lit is a 4 in 100 jackpot. 02 The Inkblot One roll grows a mirrored ink shape and fills in the clinic's form. The right half unfolds from the crease. 03 The Color Plate A mirrored inkblot in color, with watercolor pigments bleeding into each other inside a new shape on every reload. 04 Circuit A dense circuit board of SVG tiles, each turned at random, whose traces and colors always join up. It slowly re-routes itself, and each reload rolls a new palette. 05 Lava Lamp A matte black lamp with lit wax and refracting glass, all from SVG filters. Each reload rolls a new color, and each blob takes a new route on every trip up. 06 Candle Clock Week 2. A beeswax candle marked with the years, burned down by scrolling. An iron nail sits at each browser's release date and drops into the pewter dish when the flame reaches it. Scroll up and the candle grows back. 07 Rubber Duck Week 2. Scrolling types out duck.css, and the preview draws each line the moment it's finished. A typo puts the beak on the tail, then gets backspaced and fixed. The last line makes the duck bob. 08 Lens Aperture Week 3. A camera lens whose iris blades are placed by sibling-count() and sibling-index(). Turn the ring to stop down, add or remove blades, or slip a heart, star, tree or snowflake card over the lens, and the out-of-focus lights behind it change shape to match. 09 Typewriter Typebars Week 3. A 1950s portable typewriter whose 44 typebars are fanned by sibling-index() and sibling-count(). Type or tap keys and the bars strike a real sheet of paper. Hit two neighboring bars too fast and they jam until you click them apart.