I think just applying effects on hover and using transition can reach the same goal without having to create animations.
transition
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
Glad it worked :)
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:
We're a place where coders share, stay up-to-date and grow their careers.
I think just applying effects on hover and using
transitioncan reach the same goal without having to create animations.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
Glad it worked :)
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: