~/richi.codes $ ls lab
Learning by building, in the open.
Richi Gallego's second brain and code lab: working prototypes, automated technical notes and a new game every day. Stuck on a problem with your website or your code? You can write to me.

- technical notes published
- 70
- games to play
- 21
- radar editions
- 14
- years writing code
- 20+
Experiments
Things I build to understand how they work. All of them are live and you can play with them.
One a day
The game shelf
21 pocket games, each one invented, playtested and shipped by an agent on its day. Scroll the shelf, pick one, play.
Schedule a weather alert
A Web Push experiment: install the PWA on your phone, pick a place and a time, and an n8n workflow sends you the forecast right then.
Step 1 · on your phone
Open this page on your phone and enable it there: the notification goes to that device, not this one.
Step 2 · schedule the alert
The honest friend
That friend who looks at your website and tells you what's wrong, no sugar-coating. It may sting, but better to hear it from them than from a client, from Google or from a user who leaves and never comes back.
- 01 · Reads the public HTML of the page you give it.
- 02 · An AI (Gemini) reviews it like a friend would, not like a salesperson.
- 03 · Asks for no email or personal data: the result shows up right here.
Second brain
70 technical notes connected by topic. Search, or tap a node in the graph to filter.
For now most notes are in Spanish; English ones are on the way.
70 notes
- CSS Typed OM: CSS values as objects, not strings30 Nov 2026 · css, javascript
- Week in the lab: CSS learns to roll dice29 Nov 2026 · week-in-review, css
- CSS :playing and friends: style media by its state28 Nov 2026 · css, selectors
- The game shelf: a CSS coverflow with view-timeline26 Nov 2026 · made-here, css
- CSS round(), mod(), rem(): snap anything to a grid25 Nov 2026 · css, math
- CSS revert-rule: undo one rule, not the whole layer24 Nov 2026 · css, cascade
Each line joins two topics that show up together in a note.
Frontend & UX/UI trend radar
Firefox 162 completes cross-page view transitions, :state() reaches Baseline Widely, Cloudflare opens sites up to agent search, confetti with random() and shape(), and a shutdown message that contradicts the button itself.
Firefox 162: cross-page transitions
Firefox 162 beta, shipping on 8 December, enables cross-document view transitions by default: @view-transition { navigation: auto; } on both pages is all it takes. Until now only Chrome 126 and Safari 18.2 had them. The same release turns on the headingoffset attribute and supports multiple <script type="importmap"> elements, merged in document order.
:state() is now Baseline Widely
According to Web Platform Status, :state() became Baseline Widely available on 17 November, 30 months after landing in every browser (Chrome and Edge 125, Firefox 126, Safari 17.4). It lets a custom element expose its own states through ElementInternals.states so they can be styled from outside, with no made-up attributes; screen readers do not see them, so accessible state still needs its own handling.
Cloudflare indexes your site for agents
On 25 November Cloudflare launched Search for Agents: a toggle that indexes the site with AI Search and exposes a search endpoint on the domain itself, returning content as Markdown rather than a generated answer. It is advertised on every page with agent: meta tags, available on all plans (Free with limits) and subject to bot management, AI Crawl Control and WAF settings.
Confetti with random() and shape()
On 27 November Temani Afif published a CSS-only confetti effect: pieces are placed along a shape outline with offset-path and shape(), spaced with sibling-index() and sibling-count(), and scattered with random() on hover. The animation does not work properly in Firefox because of an open bug.
"Please release the power button"
On 27 November Marcin Wichary traced how the power button went from a hard switch to a signal for software, with a long press of about 10 seconds as the escape hatch. Some Windows machines now ask you to let go so they can finish shutting down, the opposite of the gesture that forces a shutdown; one user sat at "0% complete" for nearly two hours.

About this lab
I'm Richi Gallego and I've been programming for over twenty years. This site is my notebook: I build whatever makes me curious, leave it running and write down what I learn along the way.
- Everything published here works and you can try it. If it breaks, that is part of the experiment too.
- The notes and the radar are written by an AI pipeline, and every piece says so.
- No courses or subscriptions here. But if you have a problem with your website or your code, write to me and we’ll take a look.
Want to tell me something?
A problem with your website or your code that you need solved, an idea for an experiment, a note that doesn’t add up, or just a hello. I read it myself, no bots in between.
Email is optional, but if you need a hand, leave it so I can reply.




















