I just picked up javascript and jquery.
This is my HTML code:
<img id='wheel' width="400" height="400" src="wheel.png"/>
Then I use jQuery to get the object.
var $img = $('#wheel');
Then I set a new CSS property.
$img.css('transform', 'rotate(90deg)');
When I ask for the property again I get the computed style (as I should).
console.log($img.css('transform'));
In this case the computed style is:
matrix(6.12323e-17, 1, -1, 6.12323e-17, 0, 0)
I don't know why I would want that, can I convert it to "normal" style? Or should I just use getAttribute and setAttribute instead of using jquery in this case?