This week
- 25th November 2026 One of the more important best practices in custom element composition is, according to folks at Google: Aim to keep primitive data attributes and properties in sync, reflecting from property to attribute, and vice versa. That is, every primitive piece of data...
- I’m putting together some training material for a client who’s using Angular with webpack module federation and ASP.NET Core, and hit a snag trying to create a new Angular + ASP.NET Core project using Visual Studio 2026: ng is needed to create the project. Click the Learn More...
- Ladybird is an astonishingly ambitious project: a new browser, in 2026, with its own implementation of most of the key components—HTML parsing, CSS engine, layout, JavaScript, even WebAssembly. It still …
Last week
- Shipping a website that uses only JPG and PNG is literally disrespectful to the end user. Especially for those without access to multi-Mbps broadband. Using “backwards compatibility” as an excuse not to serve better image formats is stupid because the browser serves the best one...
Two weeks ago
- I still think saying no is important. In that vein, here’s something I shipped by removing functionality (and I think my site is better for it). For the longest time on my icon gallery sites, you could view a list of icons in four pixel dimensions: 56×56 128×128 256×256 512×512...
About a month ago
- Have you ever wanted to display all variants of a Button next to each other in your Storybook like your designer did in Figma? But then you come to a screeching halt when you realize :hover, :active, :focus don’t work without user-interaction? Blergh. Whatever can we do? I got...
- You know this rubber-banding effect on iOS Safari when you reach the end of the scrollable element, and it does this cool bounce. You can prevent it using CSS overscroll-behaviour: none if you don’t like it, but doing it also disables the “pull-to-refresh” gesture that was added...
- Epilogue You’re still here? Wow. Cool. After all this, I’m hoping that users notice nothing other than quicker app start times. I’m looking forward to keeping an eye on traffic and retention in the coming weeks. Wish me luck!...
- I spent every spare moment of the past month working on my side project. I can’t wait to share more about it with you. Every time I think I’m close to a release, I find more work to do. It feels exhausting at this point, but I’m still not losing passion for the thing I’m...
about 1 month ago
- Every year, browser vendors collaborate via the Interop project to synchronize their efforts on new HTML/CSS/JS features. This year, there’s a ton of super exciting features being considered! In this blog post, we’ll explore the CSS of the future, to get a glimpse of what we’ll...
- The proposal period for Interop 2027 closed in late September, which means the Interop team is now in the process of working through all the proposals and ultimately deciding which will be taken on next year. Part of that process is looking at “developer signals”, which is a...
about 2 months ago
- For the second time, Firefox made a page that lets you rank the Interop 2027 features that you care about. Interop is an effort by multiple companies involved in shaping the web to make the platform more interoperable. This is your very low-effort option to contribute to the...
- My notes from this talk by Alexander Petros at Big Sky DevCon 2026. Alex starts by noting how “modernize” used to mean something along the lines of “update this thing that was made before I was born”. But now “modernize” means something more like “update this thing from 5-10...
- There’s a new web platform feature flighting in Chromium called Declarative Partial Updates. This proposal adds a new <?marker> element which enables out-of-order streaming of content. Rather than the traditional way of building the HTML you need on the server, or sending JSON...
- I wrote about why I love Jotai a while back, and the reason hasn’t really changed. I want to share some state between components without turning that into a project of its own. Create an atom, use it where I need it, and carry on building the application. That is most of what I...
- Most of this month we spent at the Polish seaside, with family and friends, chilling at the Baltic Sea, playing cards, grilling fresh fish and enjoying a poor internet connection. The rest of the month I spent trying to understand the madness that happened at work during my...
2 months ago
- There is a common design pattern that sometimes gets missed or overlooked. It’s having a list of items, each with an icon. When the text is one line, the icon is centered, but when the text has multiple lines, the icon is still centered but looks odd.
3 months ago
- Making and breaking grids I’ve been doing more front-end coding this year than I have in a while and every time I come back to write markup and CSS, it feels like there are new tricks. We’re closing in on the 30th anniversary of CSS (already a little past 30 years since Håkon...
- When and how CSS custom properties are calculated might not be what you expect, and it has a big impact on your styles. The default Take this HTML: <div></div><div class="second-item"> <p>…</p></div> And this CSS: .second-item { --index: sibling-index(); & > :first-child {...
- Dave Rupert wrote about shipping microlighter: a tool for handling syntax highlighting using the CSS Custom Highlights API. I saw his post the day he released it, and I had an implementation PR up for my blog by end of day. Then, like I do with so many things, I let it sit...
- I made a smol client-side syntax highlighter that uses the CSS Custom Highlights API called MicroLighter. I’ll talk about why I made it in a bit but first I wanted to… ahem… highlight… some of the features. Zero-dependencies ~2kb minifed+gzipped Uses CSS ::highlight(token-name),...
- Stuart Robson’s post Solving CSS @layer Ordering in Design Systems with Design Token Metadata, a response to Chris Coyier’s Thinking Horizontally in CSS @layer, came to me at a serendipitous time. You know I love a good blog-and-response, but these posts on the topic of lowering...
4 months ago
- Browser engineers encourage blogging about issues with engines, so here I’m reporting an issues with Safari that doesn’t respect the justify-content property on the subgrid containers. The justify-content is not only a property of a flexbox, but you can also use it on grid...
- I wanted to see how difficult it would be to add Go's defer statement to the TypeScript compiler, but by the time I finished I was convinced it probably shouldn't exist.In Go, the defer statement delays the execution of a function until the surrounding function finishes. It's...
Rows per page