I tried to apply some dynamic scale and translate css properties some thing like this
var scale="scale(2,2)";
var translate="translate(20,20)";
var prop=scale+" "+translate;
$(this).css({
"transform":prop
});
But this is not working. I even tried some thing like this
prop="'"+scale+" "+translate+"'";
$(this).css({"transform":prop});
Even this not working.Please help to resolve this.
translatetransform. It won't work without it. Otherwise, nothing wrong with your code.