Tomarinator Tomarinator - 1 month ago 4
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: