Hello,
I have I problem with animating logo in this example. Everything works normal until I change window size. Then logo jumps. I realized that it remembers the distance of 10vw in the corresponding value in pixels that it gets during the first time animation. For example, If I open menu first time and window width was at first 1000px logo will move right from start position 10vw ie. 100px. And now if I close menu it will return at start position. If I now resize window to 800px logo will move right from start position 10vw ie. 80px. But if I close menu logo will first jump to 100px from start position and than start animating to start position.
I have this problem all the time when I use relative values.
What is solution?
Thank you.