I seem to be finding conflicting results when searching online of how to do this. Using jquery(^3.4.1) all I want to do it increment the rotation of an element based off the previous rotation degrees. From what I have found I should be able to do:
$(element).css({'transform': 'rotate(+=10deg)'});
But no dice. However if I change it from rotate to left, it works as intended:
$(element).css({'left': '+=10'});
So what am I doing wrong? How do I increment the rotation like I do when I increment the left value?
Any advice?