view raw
Tomarinator Tomarinator - 8 months ago 45
CSS Question

CSS animation not working for a-tag

In the following demonstration, I am trying to apply bouncing animation to three elements, a div, p-tag and a-tag , its not working for the a-tag.

Any clues what might be wrong ?



Set display:block or display:inline-blockon the a tag.

You can't use margins or scaling on inline elements.

Here's an updated example: