How do I animate buttons to toggle?
Hello, tell me how to make the animation of switching between menu items, I just do not yet understand the principle of how this should work.
In my example, the button just teleports, and I want to make the pink background slide up and down.
Here's an example using slidingMenu.js
To place the code, please use CodePen or similar tool. Thanks you!