Code is here:
https://codepen.io/chriscoyier/project/editor/ZGxnOb
View Transitions don't work in iframes yet, so you have to see here:
https://000694252.codepen.website/
And you have to use Chome Canary and flip on the flag.
@chriscoyier @keithjgrant What I don't get is *how* you made it work as a scaling animation? Does browser calculate element dimensions and interpolate between them only because you put a unique name?
I don't get this magic, because even if you do `transition-property: all`, it doesn't just give a way to make transition between implicit dimensions (no hardcoded `width`/`height`), but in case of View Transitions... it can?
@chriscoyier This is wild. Great way to demo the feature.
Do I feel a delay before the animation triggers?
I suppose one could add an immediate 'loading' indication on click, and then the animation would trigger when the additional page is loaded.
@chriscoyier Pretty nice! I will have to check that out.
I'm still using JavaScript for a (kind of related) transition on my site homepage. (Isotope)