Jquery - fadeIn/fadeOut flicker on rollover

前端 未结 2 509
甜味超标
甜味超标 2021-01-15 14:26

I am using the following code to acheive a fadeIn/fadeOut effect on rollover/rollout of it\'s parent div.

$(\'.rollover-section\').hover(function(){  
   $         


        
2条回答
  •  猫巷女王i
    2021-01-15 14:55

    I've put my answer from the comments here:

    Just use the animate example you have there. Check here for an answer to why the fade animation behaves the way it does: jQuery fade flickers

提交回复
热议问题