Get a free trial // Grow your CSS skills // Land your dream job

Swing Effect on Hover

  • # February 14, 2013 at 9:56 pm

    Does anyone know how to get a swing or pendulum effect like [this]( “this”) but only on hover?

    I was using css rotate but the problem is that I need it to finish its sequence even if the user stopped hovering. Any thoughts?

    # February 14, 2013 at 10:04 pm

    Found out how to do it…if anyone is interested here is the fiddle:

    []( “”)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed