on-internet
← Community

Combining CSS transition and animations together?

Stack Overflow ·

Hello I am having trouble combining both css transition and animations together. The animation is working but some reason when I add a transition, the transition works, but cancels out the animation. Anyone know how to combine them? Here is my CSS: .circle-spin { transition: all 1s ease; } .circle-spin-reverse { transition: all 1s ease; } .success li:hover .circle-spin-reverse { animation:spin-reverse 10s linear infinite; /* the above works until i add the transition below */ transform:scale(1.25); } .success li:hover .circle-spin { animation:spin 10s linear infinite; /* the above works until

Comments

Sign in or sign up to comment and upvote.

No comments yet.