jquery

calling a function after some time in jquery:

setTimeout(function(){
                $('span').css(
{'background-color':'red','color':'blue'});
               },5000)


css transition with jquery:

  $('span').css({'background-color':'red',
'color':'blue',
               
'transition':'color 20s ease-in-out,
background-color 10s ease-in-out'
            
            });

Comments

Popular posts from this blog

interview questions js[ Anurag Singh ProCodrr]

reactnative_creation