Simple fadeIn and visibility in jQuery

后端 未结 3 1992
Happy的楠姐
Happy的楠姐 2021-02-13 13:10

I\'m trying to change the css property visibility of a div to visiblewith a jQuery .fadeIn()transition.

Here is my code :

3条回答
  •  北海茫月
    2021-02-13 13:46

    Actually, I liked davidaam's answer. I would make a slight modification:

        $('#test').css('visibility','visible').hide().fadeIn("slow");
    

提交回复
热议问题