Is there a way to achieve a hanging animation of an element bouncing up and down using margin-top? Something that imitates elastic.
Basically i want the first frame to be margin-top:0px, the second frame: margin-top:15px; and should be infinite.
There are lots of example on the web.
Check it out from this tutorial. It is done with pure CSS.
I just created a simple demo. Check it out. This one runs on both
webkitandmozillabrowsers.Check out this demo
Hope you like it.