l-lin / font-awesome-animation

Simple animations using FontAwesome and some CSS3.

Home Page:http://l-lin.github.io/font-awesome-animation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Would be amazing to add a hover on parent link

desduvauchelle opened this issue · comments

Hello,
Thanks for the amazing plugin. Would be really cool if the hover effect could work as well on the parent hyperlink, as very often, the icons are inside links and the effect should work on hover of the link, not just the icon.

Ex:
love

Indeed, would be nice to have this feature.
I'm on it! 👍


You can hover the parent and the animation will trigger by adding the css class faa-parent and animated-hover on the parent. For example:

<a href="#" class="faa-parent animated-hover">
  <i class="fa fa-wrench faa-wrench"></i>
</a>

Woow, amazingly fast, thanks!