Accéder au contenu principal

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

View Transitions

In practice, we need to give the same

  • style="view-transition-name: call-out-img-1" on the given image on the 2 pages
  • style="view-transition-name: call-out-title-1" on the given title on the 2 pages

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!

Example of HTML on the Single Article View