Click through div to underlying elements

后端 未结 16 2064
逝去的感伤
逝去的感伤 2020-11-21 06:19

I have a div that has background:transparent, along with border. Underneath this div, I have more elements.

Curre

16条回答
  •  抹茶落季
    2020-11-21 06:28

    Another idea to try (situationally) would be to:

    1. Put the content you want in a div;
    2. Put the non-clicking overlay over the entire page with a z-index higher,
    3. make another cropped copy of the original div
    4. overlay and abs position the copy div in the same place as the original content you want to be clickable with an even higher z-index?

    Any thoughts?

提交回复
热议问题