Iam Performing simple Greensock animations, Iam unable to perform any animation on span elements..even any animation i performed its just blinking can any one help. Is there any problem with my span elements defining.
Here is the code.
<div id="prac">
<div><span>1</span><span>2</span><span>3</span><span>4</span></div>
</div>
CSS Style
#prac span{padding:20px;border:1px dashed blue;background:violet;margin:5px;}
JS
TweenMax.staggerFrom($("#prac").find("span"), 0.4, {scale:0, rotation:-360, autoAlpha:0},
0.1)