Skip to main content

Web Weekly #202

Guten Tag! Guten Tag! 👋 

Have you heard that ariaNotify is now baseline newly available? And do you wonder if JPEG XL is better than AVIF? And what's your take on Safari's new adaptive dark mode?

Turn on the Web Weekly tune and find some answers below. Enjoy!

Web Weekly Jukebox

Modeselektor - Sónar Festival 2026

Pablo says:

I love Modeselektor, an iteration of Apparat as Moderat, and this trippy one long hour concert at Sónar is energizing.

Do you want to share your favorite song with the Web Weekly community? Hit reply; there are two more songs left in the queue.


Deno and Astro joined Cloudflare. Nuxt and Svelte belong to Vercel. Tailwind and Remix joined Shopify. Anthropic acquired Bun, and OpenAI got the people from Pierre Computer Company (I'm just calling them out because they do very cool stuff).

CSS-Tricks has a new owner.

And then there's Geoff. Geoff as in Geoff Graham, the editor of CSS-Tricks. After DigitalOcean bought the site that we all visited daily from Chris Coyier, it looked like another project was going to die because DigitalOcean seemed to have lost interest in it.

Not with Geoff, though, because he bought back CSS-Tricks from DigitalOcean. I have no idea about the deal size, but, oh boy, I definitely didn't see this one coming. And, of course, Geoff has big plans!

I want to make CSS-Tricks both a real community and a place that’s inclusive of everyone, no matter where they are in their front-end learning journey. That’s going to take some work and time.

Many people shared that this feels like a long-awaited win for us, the bloggers, the educators. And I must admit I also felt a bit of encouragement after hearing the news. Maybe there's still a place for blogging, sharing, and learning together.

So, thank you, Geoff, for pushing forward. I really, really, really hope that this works out for you. And selfishly for us! ❤️


If you enjoy Web Weekly, share it with your friends and family.

A quick "repost" really helps this indie newsletter out. Thank you! ❤️

Web Weekly Housekeeping 

A huge thanks to 58 Web Weekly supporters!

It's been quiet the last couple of weeks, so I want to apologize to my supporters for the silence. Thank you all for supporting Web Weekly on GitHub Sponsors and Patreon. ❤️

Something that made me smile this week 

Knowember, get to know your blogger.

I don't know when or how I discovered Robert's blog. It feels very... wholesome? Browsing around gave me some good old blogging vibes. Robert also runs monthly themes, and this month's theme is "knowember".

If you're curious, here's my quick Knowember post.

Participate

No code 

  • becoming yourself is a social project → "Most of us are surrounded by more care, intelligence, and help than we know how to access. Maybe part of reaching your potential is learning how to become easier to help."
  • Bug blindness → "I've seen people and teams with a high degree of quality blindness ship things that have reduced or even no chance of success because of product quality issues"
  • Writing to me with AI → "I really dislike this vibe on the internet right now. It feels like I’m constantly having to avoid being “tricked.”"

A nice abstraction 

Before: document.currentScript.replaceWith(new Date().getFullYear()) After: $(new Date().getFullYear())

That's a nice quick tip. Lean described how to turn document.currentScript into an inline templating engine. Love it!

Replace it!

For the image nerds: JPEG XL vs AVIF 

For lossy photos on the web, AVIF almost always produces smaller files than JPEG XL. At default effort settings, the best JPEG XL version is typically 15–25% larger than the equivalent AVIF.

You might have heard that JPEG XL is now supported by all major browsers. Should you use it? Jake put out a massive article comparing the new format with AVIF. Be warned, the article is very long, but the tl;dr at the top has you covered.

Choose wisely

Should buttons have cursor: pointer? 

Revisiting Buttons and Cursors — The CSS Working Group resolved to use cursor: pointer for buttons and other clickable form controls in the new appearance: base styles.

So, do you use cursor: pointer for buttons? I'm strongly in favor of doing this, but as it turns out, some people have strong opinions on the matter.

Decide

Rebuilding flex-wrap: balance 

A flex layout that is balancing itself out on resizing.

flex-wrap: balance; is so far only shipping in Chromium. If you still want to achieve balanced flex layouts, Ahmad shared some ways to come up with similar results.

Be balanced

The wonderful weird web – The nicest place 

hi. welcome to the nicest place on the internet. Having one of those days? Yeah, been there too. And sometimes, a little pick-me-up is hard to come by. So come on by to turn the sad into happy and the happy into a celebration.

If today's one of those days when you could use a hug, you'll find one at the nicest place on the internet. Love the old-school vibes of the site.

Get a hug

Upcoming: headingoffset 

<div headingoffset="2">   <h1>2 + 1 = Heading 3</h1>    <dialog headingreset>     <h1>Heading 1</h1>   </dialog> </div>

Granted, it's not prime time yet for headingoffset (shipping in Firefox 162 first) and :heading(), but adjusting heading levels is a feature we've needed since the failed outline algorithm. Let's see when the other browsers pick this up!

Control your headings

The Navigation API 

navigation.addEventListener("navigate", (event) => {   // ... });

The Navigation API has been available in all browsers since January. Do you use it?

If not, Ollie went on a tour to describe what you can do with it. The posts are quick reads and give you a good idea of what's possible. Thank you, Ollie!

.PropFLIP 

.PropFLIP {   transition: --tx, --ty, --sx, --sy;   transition-duration: .75s;   transition-timing-function: var(--ease-spring-3); }

If you've been in the game long enough, you might remember the FLIP technique. FLIP allows you to use CSS transitions for animations that you would usually need JavaScript for. Now, the technique is from 2015, so there must be a more modern version, right?

That's what Adam was after, and he describes a modern approach to FLIP using @property.

Flip it!

Move all these grid items 

Resizing of a grid that automatically repositions the grid items

And speaking of moving things around, did you know that you can use and transition anchor-positioned grid items? That's some fancy stuff!

Move them

A fancy range slider 

A range slider that's shaped as a curve. It includes a label that tilts left and right depending on the position of the curve.

As usual, I've no idea how Temani does it, but what you see above is a CSS-only input of type range, an output element, and a label. I've got no words!

Pick a value

Safari's new adaptive dark mode 

Two website screenshots overlaid show light and dark mode.

If you're a Safari user and are bothered by bright websites, Safari 27.3 beta introduced a new feature to automatically turn bright websites dark. The feature respects color-scheme so that it doesn't clash with your dark mode styles, and if you want to disable the feature entirely, <meta name="color-scheme" content="light only"> is your friend.

Go dark

And apparently, Chrome ships an auto dark mode feature behind chrome://flags/#enable-force-dark, too. I wonder how many bug reports come in when browsers change how sites look natively.

No AI Slop: A Manifesto 

No AI Slop: A manifesto

Nothing more to add here than some quotes from the manifesto.

Slop is when we put less effort into producing something than we ask the consumer to spend understanding it.

When an agent wrote something we're sending, we make that clear, and we check the parts that matter before it goes out.

Human time and attention is incredibly valuable, so we optimize for using it wisely.

Don't be a slop cannon

Random MDN – :state() 

:host {     overflow-y: scroll;     transition: background 0.2s; }  :host(:state(scrolling)) {     background: pink; }

From the unlimited MDN knowledge archive...

I gotta be honest here: I hadn't seen :state() before. Dave explained how he uses "pseudo-pseudo-classes" to build interactive component demos and well... today I learned :state() is a web component thing.

Give state

New on the baseline 

Newly available: ariaNotify and widely available: AbortSignal.any

It feels like browser vendors are still on fire, and it's hard to keep up with all the new features shipping. So here are some calm and easy-to-digest baseline updates. 🫣

Classifieds & friends 

Web Weekly reader David is working on Pour. Pour is a WCAG 2.2 accessibility audit engine written from the W3C specifications. If you care about accessibility, which I'm sure you do, you should check it out!

Three valuable projects to have a look at 

A new Tiny Helper 

Gradient layer UI showing a burger built out of different CSS layers.

Back in the day, some people had the hobby of doing CSS art with the goal to draw things in a single div. The trick was to use multiple box-shadow or background values on the elements. I never tried creating these, but it can't be easy.

If you want to get into the game for some relaxation though, "Gradient Layers" helps you create and debug all these CSS declarations.

Be a CSS artist

Find more single-purpose online tools on tiny-helpers.dev.

Thought of the week 

I 100% agree with Robin's take here.

The developers who thrive in this era will not be the ones with the highest output. They will be the ones whose output other people are glad to receive. Everyone else is generating work and calling it productivity.

Did you learn something from this issue? 

❤️ If so, join 58 other Web Weekly supporters and give back with a small monthly donation on Patreon or GitHub Sponsors.

This is all, friends! 

Loved this email? Hated this email? I want to hear about it!

If you think something needs improvement or something sparked some joy, reply to this email because I want to know more!


And with that, take care of yourself - mentally, physically, and emotionally.

I'll see you next week! 👋

Join 6.4k+ developers and

Subscribe to Web Weekly