Tomarinator Tomarinator - 1 year ago 75
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 ?


Answer Source

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:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download