I just started to get into using the TweenMax JS animation library, and I have to say that it is pretty sweet. I've gone through and started doing test, and such, and tested the bezier plugin ,which is pretty awesome in itself.
My question with the bezier plugin is whether or not it would handle responsive design, such as when the user rescales down their browser window?
Currently I have this tween, that is set to animate when the item comes into view.
var atween = TweenMax.to('.arrow-test', 2, {
bezier:[ {left:100, top:250, alpha: 0}, {left:300, top:0, alpha: 0.5}, {left:500, top:400, alpha:1} ],
ease:Power1.easeInOut,
paused: true
});
My CSS is as follows:
.arrow-test-wrapper { position: relative; }
.arrow-test { position: relative; top: 0; left: 0; }
Does animating on bezier curves support responsive design? Or is there something that I am missing in my code? Thanks!