Flip plugin for GSAP lets you seamlessly transition between two states even if there are sweeping changes to the structure of the DOM like re-parenting of elements which would normally cause them to jump to a new position/size.
NOW in the public downloads! https://greensock.com/3-9
Docs: https://greensock.com/docs/v3/Plugins/Flip
0:00 start
1:55 How Flip Works
5:05 scale: true
7:20 Flip.fit()
9:54 absolute: true
11:35 nested: true
12:21 targets and data-flip-id
13:35 swapping targets
17:11 onEnter and onLeave
19:15 props
20:38 Extra features
23:20 More resources
The term "FLIP" was coined by Paul Lewis.