heygrady / transform

jQuery 2d transformation plugin
437 stars 87 forks source link

doesn't set css property #20

Closed gauthierm closed 13 years ago

gauthierm commented 13 years ago

This plugin is just setting an element attribute called data-transform in webkit and gecko. It should be setting the css property.

heygrady commented 13 years ago

Can you provide an example? I've been using this plugin in testing for months and I test in Webkit and Gecko browsers. Is there a chance that you're not setting units?

$('example').css({rotate: 30}); // doesn't do much
$('example').css({rotate: '30deg'}); // rotates 30deg

But that's to be expected.