How would you reverse an animation? Help!

How would you reverse an animation? Help!
0.0 0

#1

I’m doing the second entry for 100 Days CSS Challenge

So far I’ve been able to do the animation when the menu icon is clicked, but it just snaps back when clicked again. I have no idea how to do the reverse animation. Take a look:


#2

think you can do it in js by removing hamburger_active class and apply a new class that will trigger the reverse animation.


#3

Yeah, that works. Thanks!


#4

You are very welcome. :+1: