Fade in divs one after another

前端 未结 5 1012
名媛妹妹
名媛妹妹 2021-01-03 14:17

Hey there guys, Im good with HTML and CSS but have only jsut started to scratch the surface of jQuery. I\'m looking to make 3 divs fade in on page load one after another. So

5条回答
  •  悲&欢浪女
    2021-01-03 14:32

    Here is a cleaner and generic way to achieve this effect: check it out on http://jsfiddle.net/BztLx/20/

    Logic trick relies on the callback functionality of the fadeIn and using .eq() as an iterator over the selected elements.

    
    
    
    
    
    
    
    
    

提交回复
热议问题