How to create an icon with animated hover

0

What do I need to know to create an animated hover like this in the link menu? I know that this menu is done with javascript, but where should I look for those such icons that look like gifs, some specific website or font, or would I have to create them? Can someone show me a simple example, an icon of how I should guide myself and create the rest.

    
asked by anonymous 10.05.2016 / 22:01

2 answers

2

You can find icons of this type at Metro Icon Font at home page you can download it as well as grab the icons separately, and it has instructions on how to use it.

You can also be doing animations with icons through CSS, even with DIV, page elements etc ...

For this you should use the animation parameter of css.

Example

.animar-algo {
    animation: ani-ring 2s ease infinite;
}

In this case the element you apply this CSS, will be swaying like a bell without stopping. To add the effects only when the mouse over, use hover .

.animar-algo:hover

The order I used is as follows:

ani-ring 2s ease infinite

nome do efeito tempo de duração função da cronometragem

  

infinite is for the effect to be infinite and not stop

There are more examples in the Metro Icon Font at the bottom of the page there are more examples that you might be inspecting element to see how the effect is done.

    
10.05.2016 / 22:24
0

See here Hover.css. It is a package of several icons with this effect. Home Download the package he has the instructions how to use, it's quite simple.

    
10.05.2016 / 22:21