Post

I was reminded of this when looking things up while writing www.bram.us/2025/01/08/v... In that post I fiddle with the keyframes of a `::view-transition-group` pseudo and roll my own FLIP keyframes based on the old and new positions.

bram.usView Transitions Snippets: Keeping track of the old and new positions of a transitioned elementBy calling getBoundingClientRect before and after the snaphots are taken, you can get the before and after positions of the transtioned elements.

2 reposts3 likes