Why does z-index not work?

前端 未结 5 1478
无人共我
无人共我 2020-11-21 05:39

So if I understand z-index correctly, it would be perfect in this situation:

\"enter

5条回答
  •  囚心锁ツ
    2020-11-21 06:03

    Your elements need to have a position attribute. (e.g. absolute, relative, fixed) or z-index won't work.

提交回复
热议问题