DEV Community

Discussion on: Vanilla CSS - Icon Animation

Collapse
 
lofiandcode profile image
Joseph Trettevik

Hey! You're absolutely right, Corentin! I didn't know that, but I created another CodePen to try it out and it totally works. Thanks for the comment!

Click the link for example of Corentin's suggestion. Vanilla CSS - Interactive Icon using Transition

Collapse
 
corentinbettiol profile image
Corentin Bettiol

Glad it worked :)

Thread Thread
 
corentinbettiol profile image
Corentin Bettiol

Transitions have transformed the web, because of how easy it is to create smooth things without javascript :)

I usually use animations for infinite loops, like these:



And transitions for hover/target animations, like these: