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](http://daneden.me/labs/pendulum.html “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:

    [http://jsfiddle.net/mdyorke/DBA5v/8/](http://jsfiddle.net/mdyorke/DBA5v/8/ “http://jsfiddle.net/mdyorke/DBA5v/8/”)

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".