jquery fade element does not show elements styled 'visibility: hidden'

后端 未结 5 1232
情话喂你
情话喂你 2020-11-28 23:11

I have a bunch of thumbnails which I am loading with a style of visibility: hidden; so that they all maintain their correct layouts. Once the page is fully load

5条回答
  •  心在旅途
    2020-11-28 23:52

    Add a few calls to the chain like this:

     $('.littleme').css('visibility','visible').hide().fadeIn('slow');
    

    This will change it to display:none for 1 frame before fading in, occupying the area again.

提交回复
热议问题