QUESTION to Euria on 19.02.2026
Can "view-transition-name: match-element" be used for transitions between different pages ?
To test View Transitions, see /fr/view-transitions (in Chrome or equivalent. Not Firefox yet for example)
At the moment there is a global Transition between all pages. We would like to add Transition dynamically for Intro Image and Title between Blog View and Single Article View
In practice, we need to give the same
style="view-transition-name: call-out-img-1" on the given image on the 2 pagesstyle="view-transition-name: call-out-title-1" on the given title on the 2 pagesSee full CSS on https://storage.woluweb.be/templates/yootheme_transition/css/custom.css
This is done manually on the first Card below... but the goal would be to have this done dynamically, for example on the dynamic grid of 4 articles below, named "View Transition 1" to "View Transition 4".
Click on the Title or Image below to see it in action!

The question is: how to implement this efficiently in YOOtheme ?
For example, if we have a Grid we need to have a unique ID for each Card of that Grid.
That would be easy if the ID field at the Card level would be dynamic... but it is not dynamic.
Making it dynamic would already be a quick win!
YTP5 should arrive end of November. Maybe we could think together of a way to automated that ! 🚀
QUESTION to Euria on 19.02.2026
Can "view-transition-name: match-element" be used for transitions between different pages ?
No, view-transition-name: match-element cannot be used for transitions between different pages (cross-document transitions).
According to the Chrome for Developers blog (2025 update):
“Important: Elements in different documents have a different identity, therefore match-element can only be used in same-document view transitions.”
This means match-element is designed to automatically assign a shared transition name to matching elements within the same document (e.g., in SPAs during DOM updates), not across page navigations. For multi-page applications (MPAs), you must manually assign the same explicit view-transition-name (e.g., view-transition-name: header) to corresponding elements on both pages to enable cross-page transitions.
Also note: match-element is not yet supported in Safari or Firefox as of early 2025, and is only available in Chrome 137+.
✅ For cross-page transitions: Use explicit, matching names (e.g., view-transition-name: product-title).
❌ Do not use match-element for cross-document transitions.
Documentation:
https://www.bram.us/
https://developer.chrome.com/docs/web-platform/view-transitions
https://developer.mozilla.org/en-US/docs/Web/CSS/@view-transition
https://youtu.be/quvE1uu1f_I?si=yZBegRag85OP4fxW&t=945
https://view-transitions.chrome.dev/profiles/mpa/ (nice demo!)
https://view-transitions.chrome.dev/profiles/mpa/scripts.js (javascript of this nice demo to inject the view-transition-name "live"... Could be a source of inspiration)
https://cydstumpel.nl/a-practical-guide-to-the-css-view-transition-api/ (added 2025.04.01)
https://www.bram.us/2025/01/20/css-attr-gets-an-upgrade/ (see second example! added 2025.04.04)
https://css-tricks.com/almanac/rules/v/view-transition/
New developments in 2025:
https://www.bram.us/2025/05/31/supercharge-web-ux-with-view-transitions-2025-05-28-webexpo/ See in particular
view-transition-name: match-element;https://developer.chrome.com/blog/view-transitions-in-2025 (Published: Oct 08, 2025) : in particular "Auto-name elements with view-transition-name: match-element" !
https://vtbag.dev/fwvt/enabling/ Fun with View Transitions
Google IO 2025 - https://goo.gle/web-animations-today-and-tomorrow
New developments in 2026:
YOOtheme Pro 5
Test if it is now possible to automate this now that YTP5 is there, with dynamic Classes etc
Try to set up view transition automation:
- from blog view
- to single article view