css() and opacity.. following fadeIn() not working

前端 未结 3 1330
死守一世寂寞
死守一世寂寞 2020-12-17 21:58

when I set opacity to 0 in css() the following fadeIn() doesn\'t work

if I set opacity to 1 the loader element is showed but there will of course not be

3条回答
  •  忘掉有多难
    2020-12-17 22:32

    .fadein() is used to show a hidden element, I dont know if it works with a opacity set to 0. Rather then opacity: 0 try display:none

    edit: looks like you figured this out before my post went through

提交回复
热议问题