z-index property not work

前端 未结 4 1520
自闭症患者
自闭症患者 2021-01-03 05:30

Hi man I have following codes, and I wont to that when I\'ll click some button fadeTo only content without #some tag
In this case fadeTo<

4条回答
  •  生来不讨喜
    2021-01-03 05:49

    I could be wrong, but im fairly certain that BOTH elements you want to include in the z-index must have non-static positioning.

    So if you made your #content and #registration,#login non-static elements, it should work.

提交回复
热议问题