The code uses pure CSS to create the three horizontal lines, then on click of the toggle, creates an animation transformation to change the three bars to an X closure.
Pure Javascript/CSS with a JQuery simply for the toggle, but not necessary.
Code found here.
Demo here.