How To Make An Image (of A Rope) "swing" Back And Forth?
Is there a way to make a long vertical image 'swing' - I want to use an image of a rope with a small subtle swing back and forth in an area of my site, for a neat background animat
Solution 1:
look at this http://jsfiddle.net/FBcFb/
forgot to reference this i got this code from Rosetta Code
Solution 2:
This is possible with CSS transformations, and in your case rotations, you can find the syntax in this page. You will need a bit of Javascript to slightly alter the angle of the rotation on a regular basis. It won't work on IE<9, though...
Post a Comment for "How To Make An Image (of A Rope) "swing" Back And Forth?"