+ 2

How To Rotate Image on Z Axis Continuously and Infinitly?

Hello I am having a circular planet image on my web page. I want to rotate it on Z Axis Continuously when the page loads. How to do that?

2nd Sep 2020, 11:46 PM
Sushant
Sushant - avatar
2 Antworten
+ 2
img{ animation: roter 3s linear 0s infinite;} @ketframes roter { 100%{transform:rotateZ(360deg);} }
3rd Sep 2020, 1:47 AM
Divya Mohan
Divya Mohan - avatar