jQuery animate background color


jQuery animate({background:’yellow’}) will add background color animation effect.


jQuery animate background color Example And Code

jQuery animate background color Example


<script type="text/javascript">
         $(document).ready(function(){
          $("#animateButton").click(function(){
           $("#demoDiv").animate({backgroundColor:'yellow'});
          });
          });
</script>    

Try it »


User Ans/Comments

📖 Read More


Advertisements