Flip plugin
Common “FLIP” techniques employed by other tools won’t work with flex elements because of the way browsers handle width/height.
Simply set
absolute: true
to have GSAP’s Flip plugin make the elements position: absolute during the flip to work around challenges with flex and grid layouts.When the flip animation is done, elements get reverted back to their normal positioning and everything appears seamless.
Happy flipping!