Answer the question
In order to leave comments, you need to log in
How to make smooth animation?
I am writing a plugin for parallax effect when moving the cursor.
The source is here - https://dropmefiles.com/irm13
In order to understand the essence of the issue, you will have to download the source.
If you have already downloaded the source:
The offset of the element is set by the transform property with css3. This creates a smooth effect. But this smoothness only works in chrome, in other browsers, to put it mildly, tryndets))
If you remove the css 3 animation, and simply assign values for margin, then everything will work in all browsers, but there will not be the same smoothness as with css3.
Question - how to achieve smoothness for all browsers?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question