How do I animate buttons to toggle?

  • 0
    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.
    https://codepen.io/squadcoder/pen/yLJBEJQ
    JavaScript Lorelei Haley, Jul 30, 2019

  • 1 Answers
  • 0
    Here's an example using slidingMenu.js

    Nathaniel Sandoval

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!