CSS3 transition fadein with display:none

后端 未结 5 865
野性不改
野性不改 2021-02-07 10:34

I\'ve got some element I want to fade with CSS3. It can be simply done by 2 classes with opacity: 0 and opacity: 1, b

5条回答
  •  执念已碎
    2021-02-07 11:18

    try to make an element that do not accept click by applying z-index to negative value.

    a{z-index: -999;}
    

    Oh! I understood your problem. You can set visibility: collapse; better than hidden I think.

提交回复
热议问题