K
K
krock000002015-10-18 23:07:42
css
krock00000, 2015-10-18 23:07:42

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

1 answer(s)
A
Andrey, 2015-10-19
@krock00000

VelocityJS.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question