A bouncy elastic hamburger to close icon animation designed by Peter Barr. When you click on the hamburger icon it chnages to a x to represent the close icon.
If you are having trouble with the pen, try the archived copy on GitHub
Hamburger to Close Icon Snippet
See the Pen Elastic Burger Animation by Peter Barr (@petebarr) on CodePen.0