The animation works like this: the element in the form of a circle rotates simply along its axis. I can not do the same animation in Mozilla Firefox. Here is the code:
#saw{ animation: saw 0.3s infinite linear; transform-origin: 50% 50%; -moz-animation: saw 0.4s infinite linear; -moz-transform-origin: 74% 52%; -ms-transform-origin: 0% 100%; } @keyframes saw { 0% { transform: rotate(360deg); } } @-moz-keyframes saw { 0% { -moz-transform: rotate(-360deg); } }
<div id="saw"></div>
It works the same way in the Mozilla, but still it’s not spinning around.
но все равно крутиться не на месте .
? - Alexey Shimanskytransform-origin: 50% 50%;
...... for firefox it is written to twist around the point with the offset-moz-transform-origin: 74% 52%;
....... for opera, so generally with respect to the lower left corner0% 100%;
.......... that is, I suppose it is a matter of inattention and ignorance of css? - Alexey Shimansky