“Mid size city with downtown by a river”
28.11.2025 13:39 — 👍 2 🔁 0 💬 0 📌 0@mxdvl.com.bsky.social
Digital Toolmaker — I love me an SVG. Web Tech Lead & Data Viz @ Hometrack he/him il/lui (parfois j’écris en Français…)
“Mid size city with downtown by a river”
28.11.2025 13:39 — 👍 2 🔁 0 💬 0 📌 0Avec plaisir! To be quite frank I was trying to figure it out for myself, so thanks for coming along for the ride/ramble…
I am in awe at how your articles provide such fertile ground for curiosity to blossom — I always want to probe, explore and make while & after reading them!
It’s maybe most apparent when thinking about columns and when the subgridded element is neither spanning until the end, nor the last in its row: codepen.io/mxdvl/pen/Pw...
26.11.2025 08:47 — 👍 0 🔁 0 💬 1 📌 0I think I get it now: if there were implicit tracks, that would inherently mean the child element would need to dynamically change how many rows & columns it spans in the parent component, and that becomes impossible to satisfy!
26.11.2025 07:01 — 👍 0 🔁 0 💬 1 📌 0And the spec itself does not explain why “the subgrid does not have implicit grid tracks in the subgridded dimension(s)” www.w3.org/TR/css-grid-2/
26.11.2025 06:27 — 👍 0 🔁 0 💬 1 📌 0Specifically, this is reminiscent of how height works. If all subgrids could contribute to the calculation of auto rows and columns, it would be difficult to assess where they came from. MDN states it’s “as per the spec” but does not explain why… developer.mozilla.org/en-US/docs/W...
26.11.2025 06:22 — 👍 0 🔁 0 💬 1 📌 0There’s this mind-boggling good article on why properties need to either flow up or down the DOM, but not both: www.joshwcomeau.com/css/height-e...
Top-tier content, highly recommend a read as it’s truly one of the most thought expanding CSS article I came across! 😉
“I’m not exactly sure why the typical auto-assignment algorithm doesn’t work with subgrid, but I assume there’s some technical limitation”
As you mention earlier in the article, both the parent and child are grids. If they could both influence each other it could lead to contradictory constraints
🐍 ≫ 🐫
25.11.2025 09:08 — 👍 1 🔁 0 💬 0 📌 0Also the skeleton dance has recently entered public domain!
bsky.app/profile/arch...
If only there existed a scale that allowed comparison of different datasets… oh wait!
en.wikipedia.org/wiki/Logarit...
I couldn’t get transitions to work well with it, and only a small subset of styles can be applies, so this “kiddie” version is the best I could come up with – codepen.io/mxdvl/pen/Jo...
20.11.2025 17:06 — 👍 2 🔁 0 💬 1 📌 0Would the CSS highlighting API work for this? Will have a crack at it!
developer.mozilla.org/en-US/docs/W...
It’s such a pretty language, will definitely use for this year’s advent of code
17.11.2025 20:56 — 👍 2 🔁 0 💬 0 📌 0Inspired by @gearsco.de’s talk at #ffconf I finally took @gleam.run for a proper spin and… I love it!
17.11.2025 19:18 — 👍 1 🔁 0 💬 1 📌 0🙆
14.11.2025 20:47 — 👍 1 🔁 0 💬 0 📌 0awaiting pictures of cats and stuff #ffconf
14.11.2025 09:48 — 👍 0 🔁 0 💬 0 📌 0A view of the beach & sea in sunny* Brighton, UK *cloudy, more like
hello @ffconf.org 👋
14.11.2025 08:10 — 👍 0 🔁 0 💬 0 📌 0For example: zod-playground.vercel.app?appdata=N4Ig...
12.11.2025 07:28 — 👍 1 🔁 0 💬 0 📌 0I think it depends how much you’re allowed to modify the Zod schema. Ideally I’d suggest transforming the input so that when trimmed to an empty, it returns undefined or null, and apply the url validation subsequently. Alternatively a union/or could work, or even an optional + catch.
12.11.2025 07:25 — 👍 1 🔁 0 💬 1 📌 0By soliciting feedback, you’ve unlocked… dark mode beta on www.theguardian.com/help/accessi... — just click the button and set your system accordingly
05.11.2025 23:43 — 👍 1 🔁 0 💬 0 📌 01. Here’s how I avoid a FOUC on my own website: github.com/mxdvl/mxdvl/...
2. See attached video on the right side — maybe a stroke-dasharray / -dashoffset issue?
Really neat for those late night Big O lullabies! 🌑
On iOS Safari, very smol notes:
1. Short initial flicker of light mode
2. Flickering of line ends on the right side
3. Doggos very bright
4. Blue links low contrast
5. Bright light footer
Maybe colour scheme not as welcoming as the light one?
Il suffisait de Louvrir!
03.11.2025 20:25 — 👍 14 🔁 0 💬 0 📌 0Recap: you can use “in lieu of” instead of “instead of” and “instead of” in lieu of “in lieu of”.
02.11.2025 10:48 — 👍 14 🔁 2 💬 1 📌 0The closer you are to objects, the faster they move in your field of view. There are a lot of good YT videos covering racing games, like youtu.be/e9OriySqLjQ?... or youtu.be/e9OriySqLjQ?...
02.11.2025 09:02 — 👍 1 🔁 0 💬 0 📌 0I did a talk/live demo today at @reactadvanced.gitnation.org on the merits of immutability and couldn’t resist sprinkling this tiny little gem in: github.com/mxdvl/immuta...
15.10.2025 20:31 — 👍 0 🔁 0 💬 0 📌 0The new docs are pretty good: react.dev/learn/render... and I also find some of the educators on YouTube to be pretty good
14.10.2025 20:54 — 👍 2 🔁 0 💬 0 📌 0Also: if your key prop is stable, React will not re-render the component. This can be used to prevent unnecessary re-renders, as long as you have a consistent serialisation.
14.10.2025 20:27 — 👍 1 🔁 0 💬 1 📌 0One of the best resources on the subject is @joshwcomeau.com’s www.joshwcomeau.com/react/why-re...
Using composition is one of the key ways you can prevent re-rendering part of the DOM — note I browsers will re-render any modification to an SVG’s children anyways, even in vanilla JS…