~/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
- 72
- games to play
- 24
- radar editions
- 16
- years writing code
- 20+
Experiments
Things I build to understand how they work. All of them are live and you can play with them.
On the lid
The laptop stickers
The tools I work and experiment with, stuck where they belong: on the laptop lid. Peel one off and put it wherever you like.
Drag a sticker (on a phone, press and hold first). With a keyboard: Tab to the lid, arrow keys to pick a sticker, Enter to peel it off, arrow keys to move it (Shift moves it further) and Enter to stick it; Escape puts it back.
One a day
The game shelf
24 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
72 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.
72 notes
- CSS :open and ToggleEvent.source: who opened what02 Dec 2026 · css, html
- WebMCP: your HTML forms become tools for AI agents01 Dec 2026 · webmcp, ai
- 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
Each line joins two topics that show up together in a note.
Frontend & UX/UI trend radar
Chrome 160 hits beta with the corner shorthand, CSS mixins get close to shipping in Chromium, a browser checklist built from real bugs, and the case for asking AI for illustrations as code.
Chrome 160 beta: the corner shorthand
Chrome 160 reached beta on 2 December, with stable scheduled for 5 January 2027. It adds the corner property, which sets border-radius and corner-shape in one declaration, an origin trial that lets a page open a link in a split tab, and removes RTCPeerConnection.createDTMFSender(). Browsers without corner-shape just show ordinary rounded corners.
Native CSS mixins, nearly ready
On 25 November Patrick Brosset, whose team at Microsoft is implementing them in Chromium, walked through @mixin and @apply: reusable blocks of declarations with typed parameters, @media or @container inside and @contents to pass CSS in from the caller. Today they only work in Chromium behind the Experimental Web Platform features flag; he says they are getting ready to ship.
A browser checklist built from your bugs
On 1 December Smashing published a guide to building a cross-browser test list from real failures: each item names a browser, a condition and a result. Example: a div with width: 100vw scrolls sideways by 15px in Chrome and Edge on Windows and goes unnoticed on a Mac. The author works at TestMu AI, which sells the tools the article uses.
AI illustrations written as code
On 28 November Simon Willison argued that for diagrams, posters, components or game assets it is better to ask a text model for SVG, HTML and CSS or Canvas than for an image: the result stays editable. He keeps image models for photorealism.
The band that runs this site
14 bots and one human. Every one of them is an automation that really runs here; the jokes are for anyone who writes code.

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.





























