Transform DOM elements into each another with smooth transitions
ramjet helps us to Morph DOM elements from one state to another with smooth transitions!
All it does is:
Clone the elements and all their children.
Transform the second element so that it completely overlaps with the first.
Animating the two elements together until the first element has exactly the same position and dimensions as the second element.
npm install --save ramjet
1 2 3 4 5 6
Thanks to Rich Harris for