+ 1
Why my rotation animation change direction ?
I don't understand I tried animation-direction: normal; but at the end, the square rotate in reverse direction I want the square rotate infinitely How can I do that ? Thanks https://code.sololearn.com/W9U98D6SdE53/?ref=app
2 ответов
+ 3
Problem is with your keyframes. Use from-to instead.
@keyframes colorchange {
from {
transform:rotate(0deg);
}
to {
transform:rotate(359deg);
}
}
+ 1
Perfect thank you !