CSS I want a div to be on top of everything

前端 未结 6 1418
孤街浪徒
孤街浪徒 2020-12-04 16:21

How do I make an html div tag to be on top of everything?

6条回答
  •  猫巷女王i
    2020-12-04 16:32

    In order for z-index to work, you'll need to give the element a position:absolute or a position:relative property. Once you do that, your links will function properly, though you may have to tweak your CSS a bit afterwards.

提交回复
热议问题