$(this).css({ -webkit-transform:'rotate(180deg)', -moz-transform: 'rotate(180deg)', -o-transform: 'rotate(180deg)', -ms-transform: 'rotate(180deg)' });
This is throwing the error:
Uncaught SyntaxError: Unexpected token -
I'm really hoping I don't have to install the jQuery Rotation plugin just for this one instance.
$(this).css({ '-webkit-transform':'rotate(180deg)', '-moz-transform': 'rotate(180deg)', '-o-transform': 'rotate(180deg)', '-ms-transform': 'rotate(180deg)' });
2.1m questions
2.1m answers
60 comments
57.0k users