Post

I really like the CSS only approach! Great idea and thanks for sharing 🙏 I think this is really useful for WC based design system libraries, where you normally are in full control of your site & content. I wonder how this would impact the use of multi page view transitions 🤔

If you want, you can delay the start of cross-document view transitions by blocking the renderer until the custom elements are defined. Then the last frame you see is the previous page. After the renderer resumes, the next frame shows the loading page with defined custom elements.

1 repost1 like

Oh, neat. Waiting for images to render was my first thought. Getting more precise control over when the ::view-transition-new pseudo is captured would be awesome!