Css3 rotation problem

(added in the form of animation) rotates an element from 0 to 360 degrees around the (rotateY) Y axis indefinitely, why not always clockwise, but change the direction of rotation? Why

Nov.19,2021

take a look at your animation-direction attribute

The animation-direction attribute defines whether the animation should be played in reverse in turn.
animation-direction: normal | alternate ;
< hr >

Supplementary content

if everything is all right, this is a visual deception, a normal phenomenon (your case is also Y-axis rotation)

as follows, the dancer you see is rotating clockwise? Or do you rotate counterclockwise? Or did you see both?

demo


,..


Menu