Animated rotation with jQuery and CSS3

In this example, we'll set up an animation that rotates an image using the rotate() transform function. Because this is supported by the majority of common browsers it's actually really easy to implement, and can be a great effect that enhances the appearance and behavior of the page it is used on.

Get jQuery 1.4 Animation Techniques Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.