I am trying to achieve this effect using jQuery and it has been giving me a bit of trouble:
I would like a css attribute value to have the same value as another css attribute value multiplied by 2.
In more detail, I would like a margin-left value which is set as a percentage to have the same value as a margin-top value multiplied by 2.
I would appreciate any help.
calc()developer.mozilla.org/en-US/docs/Web/CSS/calc