Css animation after closing menu issue

Css animation after closing menu issue
0

#1

Hi everyone,
I’m trying to create a small menu opening animation for my portfolio, it works when opening the menu but I want it to also happen when I click the close icon.

I googled for this but i couldn’t understand how I can get it to work yet.

https://codepen.io/faissalabsml/pen/NObPpv?editors=1100

Thank you