Jeroen Zwartepoorte's Avatar

Jeroen Zwartepoorte

@jpzwarte

Front-end architect, web components, UX, education.

69
Followers
172
Following
163
Posts
12.11.2024
Joined
Posts Following

Latest posts by Jeroen Zwartepoorte @jpzwarte

Preview
CSS Scroll Snap Events · Issue #1107 · web-platform-tests/interop Description The CSS Scroll Snap events, “scrollsnapchange” and “scrollsnapchanging”, give developers precise control over advanced interfaces through quick and easy access to information about scro...

I'm confused, in the above post it says "CSS scroll snap & scroll events", but scrollsnap events aren't part of interop?! github.com/web-platform...

13.02.2026 09:42 👍 0 🔁 0 💬 1 📌 0

Either referenceTarget or scroll-state container queries. Both are pretty hard to work around.

13.02.2026 09:39 👍 3 🔁 0 💬 0 📌 0
A technical diagram comparing three ways to style element corners using CSS variables `--r: 12px` and `--gap: 4px`.
1. "Border Radius": Standard support across all major browsers using `border-radius: var(--r)`.
2. "Corner Shape": Uses `corner-start-end-shape: scoop` and `border-start-end-radius` calculation, shown with Chrome and Edge icons.
3. "Border Shape": Uses a complex custom `border-shape` definition (likely CSS Houdini/Paint API) with extensive geometry calculations for shoulders and arcs, indicated with a Chrome Canary icon.

A technical diagram comparing three ways to style element corners using CSS variables `--r: 12px` and `--gap: 4px`. 1. "Border Radius": Standard support across all major browsers using `border-radius: var(--r)`. 2. "Corner Shape": Uses `corner-start-end-shape: scoop` and `border-start-end-radius` calculation, shown with Chrome and Edge icons. 3. "Border Shape": Uses a complex custom `border-shape` definition (likely CSS Houdini/Paint API) with extensive geometry calculations for shoulders and arcs, indicated with a Chrome Canary icon.

Modern CSS capabilities.

06.02.2026 12:44 👍 64 🔁 5 💬 2 📌 1
Post image

Since it uses `shape()`, i assume you could make the arrow less pointy now? And have it curve instead of being a triangle? Like macOS?

31.01.2026 09:05 👍 1 🔁 0 💬 1 📌 0
Video thumbnail

Finally solving the tooltip arrow usecase with a new CSS property called border-shape

⚠️ WIP early-stage API, timeline TBD, more info coming soon

But it brings a lil tear to my eye to see this working, border & all 🥲

This demo uses anchored container queries + border-shape + a little animation

30.01.2026 19:12 👍 124 🔁 14 💬 7 📌 4

@jensimmons.bsky.social under "things that improve developers lives": can we have corner-shape in more browsers please? bsky.app/profile/haz....

28.01.2026 08:58 👍 0 🔁 0 💬 0 📌 0
Video thumbnail

The new corner-shape CSS property unlocks exciting new UI patterns.

corner-shape: bevel round;
border-radius: 1em 0 / 3em 0;

28.01.2026 04:24 👍 145 🔁 14 💬 5 📌 1

Are there any accessibility concerns?

16.01.2026 07:55 👍 2 🔁 0 💬 1 📌 0
Preview
Custom Media Feature Flags · December 6, 2025 Use true or false queries

#CSS `@custom-media` feature flags

create your own true or false media queries
nerdy.dev/custom-media...

06.12.2025 05:17 👍 21 🔁 5 💬 1 📌 0

Polyfill to the rescue: www.npmjs.com/package/@af-...

19.11.2025 10:10 👍 1 🔁 0 💬 0 📌 0
Post image

I feel like a whiny child when i say this, but why can't we have nice things in a timely fashion? #disappointed

19.11.2025 08:16 👍 1 🔁 0 💬 1 📌 0

Ik ken je situatie natuurlijk niet, maar verhuizen naar NL misschien overwegen waard?

13.11.2025 18:33 👍 0 🔁 0 💬 1 📌 0
Preview
[scroll-animations?] Proposal: Add overscroll gestures with ability to reveal elements · Issue #12750 · w3c/csswg-drafts This is an early proposal to get the conversations started. Explainer https://github.com/vmpstr/htmldemos/blob/master/gestures/README.md Summary of the proposal We're proposing to add primitives to...

This looks interesting : github.com/w3c/csswg-dr...

09.11.2025 09:22 👍 0 🔁 0 💬 0 📌 0

I hope you have better luck with the angular team than I’ve had: some custom element related issues have existed for years at this point 🙁

08.11.2025 08:26 👍 1 🔁 0 💬 1 📌 0

Having native APIs for swiping on touch devices.

06.11.2025 14:46 👍 2 🔁 0 💬 1 📌 0

If it isn't on the agenda yet: `referenceTarget` aka cross-root ARIA. iirc there are still some issues to be hashed out?

06.11.2025 14:44 👍 4 🔁 0 💬 0 📌 0

I read at some point that EU iOS may be too small of a market to justify the necessary (technical) resources for such a browser. But isn't iPadOS now also required to allow different engines? Still too small?

05.11.2025 13:08 👍 1 🔁 0 💬 1 📌 0

They did, and i've seen presentations from Igalia on a hybrid WebKit+Chromium architecture for iOS. But for some reason nobody has shipped anything so far. Reasons aren't clear (to me).

05.11.2025 12:54 👍 1 🔁 0 💬 2 📌 0

Enjoy the diving :)

27.10.2025 17:36 👍 1 🔁 0 💬 0 📌 0
Video thumbnail

And this is Safari Technology Preview:

27.10.2025 16:57 👍 0 🔁 0 💬 1 📌 0
Video thumbnail

I think i've found a bug in Chromium though related to scroll-driven-animations and position: sticky: if the `animation-range` is small enough (`32px` in the video), Chromium has trouble actually scrolling. Safari on the other hand has not. First Chrome:

27.10.2025 16:56 👍 0 🔁 0 💬 1 📌 0
Video thumbnail

Turns out scroll-driven-animations are sufficient :)

27.10.2025 15:02 👍 1 🔁 0 💬 2 📌 0

Also i noticed you use `position: fixed` in your SDA example and not `position: sticky`. If you need sticky, then you probably need to use view-transitions?

27.10.2025 09:08 👍 0 🔁 0 💬 2 📌 0
Post image

When would you go for scroll-driven-animations (your "shrinking header shadow" example) and when for view-transitions?

I have this design and i'm thinking i could also do it with the Scroll Driver Animations API. Not sure what i should use.

27.10.2025 08:42 👍 0 🔁 0 💬 1 📌 0

The more I think about it, the more I think it’s not supposed to work that way: when you start scrolling the DOM of the header doesn’t change, so there is nothing to view transition to.

26.10.2025 10:24 👍 0 🔁 0 💬 2 📌 0

Link a view-transition to scrolling: a header animates when you scroll up/down. Is that possible yet? @bram.us @vtbag.dev

26.10.2025 10:00 👍 0 🔁 0 💬 1 📌 1

Sometimes that looks like waves and if you stare long enough, hey, the number 3!

21.10.2025 14:25 👍 1 🔁 0 💬 0 📌 0

Most developers I know are happy an exported SVG displays correctly on their page. They’ll never inspect the source to see how clean it is.

14.10.2025 06:11 👍 6 🔁 0 💬 2 📌 0

Teams should add a feature where it detects if you imitate an emoji, it shows that emoji as a reaction in the meeting.

08.10.2025 07:22 👍 0 🔁 0 💬 0 📌 0
276727 – Implement `overlay` CSS property and new top layer exit algorithm

@jensimmons.bsky.social Might i suggest bugs.webkit.org/show_bug.cgi... again? It's not just about animating closing popovers/dialogs. It is also *necessary* to fix them suddenly jumping to a different position when they exit the top layer, because a parent element is translated. Codepen included.

06.10.2025 07:53 👍 0 🔁 0 💬 0 📌 0