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 - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -