Click through div to underlying elements

后端 未结 16 2067
逝去的感伤
逝去的感伤 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:36

    Just wrap a tag around all the HTML extract, for example

    
      test1
      

    test1

    in my example my caption class has hover effects, that with pointer-events:none; you just will lose

    wrapping the content will keep your hover effects and you can click in all the picture, div included, regards!

提交回复
热议问题