0

CSS's transform equivalent in JavaScript/jQuery

Can I move elements in X-Y coordinates of a screen in JS or jQuery?

13th Jan 2018, 10:06 AM
Complex
Complex - avatar
3 Answers
+ 2
$(element).css("transform","translateX(value)");
21st Jan 2018, 6:04 PM
Shakir Dodhiya
Shakir Dodhiya - avatar
+ 2
yes you can By using jquery animate function
21st Jan 2018, 6:02 PM
Shakir Dodhiya
Shakir Dodhiya - avatar
+ 2
or by using jquery css function
21st Jan 2018, 6:02 PM
Shakir Dodhiya
Shakir Dodhiya - avatar