can anyone explain me how to get multiple Transform attributes work in jQuery.css() ?
i have set up a Fiddle to show what I mean
This wont work:
$('.transformMe').css({
'border':'5px dotted blue',
'-webkit-transform': 'scale(5) translate(60,25)',
'-moz-transform': 'scale(5) translate(60,25)',
'-ms-transform': 'scale(5) translate(60,25)',
'-o-transform': 'scale(5) translate(60,25)',
'transform': 'scale(5) translate(60,25)'
});
This results in a new border but the transformation is ignored by the browser.
This Works:
$('.transformMe2').css({
'border':'5px double green',
'-webkit-transform': 'scale(5)',
'-moz-transform': 'scale(5)',
'-ms-transform': 'scale(5)',
'-o-transform': 'scale(5)',
'transform': 'scale(5)'
});
How can I set multiple transform attributes with jQuery ?