title: Change default speed of animate.css classes with jQuery
body: <p>I want to add animate.css classes on scrollbar changes, i mean when the scroll get down the div should animate with animated fadeInUp but the speed of the animation should slow. i have tested with jQuery animate() function but its not working for me.</p>
  
  <pre><code>$(document).ready(function(){
  $(window).scroll(function(){
  var scrolls = $(window).scrollTop();
     if(scrolls &gt; 900){//from top to 900px my div appears
         $(".box-animate").animate({function(){
                   $(this).addClass("animated fadeInUp");
                   }
                    },3000);
             }
             });
     });
  </code></pre>
  
  <p>I know there is some stupidity exists in my code:) but i am not able to find it?</p>