+ 10
How can i use @keyframes to animate my image rotate 360 linear infinite?
2 ответов
+ 4
img {
animation: turning 4s linear 0s infinite;
}
@keyframes turning {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
https://code.sololearn.com/WMSEQ1pfwl8P/?ref=app