I made an animation where 4 divs slide “behind” another div. I need to have a reset button that shows all the divs again so I thought I could just undo the animation. So, for example, if I animated left -100px, I thought I could just animate right +100px. That animation does nothing though. I made a js fiddle. Let me know if its too much code.
Thanks in advance for the help.
If you want to reverse left: -100px, you do left: +100px or right: -100px.
left: -100px is equal to right: +100px.