javascript - jQuery getting wrong cursor position when scaling -


i'm scaling entire <body> using css scale transform. problem wrong cursor position. want create new div cursor clicked div being created in wrong position.

$('body').css({transform:'scale(0.5,0.5)'}); 


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -