Open mok20123 opened 10 years ago
I wrote the following code: var anim = morpheus([el, el2], { left: 50+"%", top: 50+"%" });
Then I had run it in Chrome and inspected el and el2 with the developer tools, their left and top were all animated to "50px" instead of "50%";
I wrote the following code: var anim = morpheus([el, el2], { left: 50+"%", top: 50+"%" });
Then I had run it in Chrome and inspected el and el2 with the developer tools, their left and top were all animated to "50px" instead of "50%";