I'm working on a class project and trying to add multiple css prefixes in my jQuery, but it's not working. Any help would be greatly appreciated. When I leave it with only the -moz-transform, it works great in Firefox, but not in any other browser, so I'm trying to add all of the prefixes. Please let me know if anyone has an answer.
$(earthID).css({'-moz-transform':'rotate('+earthRotate+'deg)',
'-webkit-transform':'rotate('+earthRotate+'deg)',
'-o-transform':'rotate('+earthRotate+'deg)',
'transform':'rotate('+earthRotate+'deg)'
});