How can you make an iframe have pointer-events: none; but not on a div inside that?

前端 未结 5 1858
误落风尘
误落风尘 2021-01-01 10:22

I have an iframe with an inherited pointer-events: none; but when I have inserted a

inside the iframe with a pointer-events: auto
5条回答
  •  庸人自扰
    2021-01-01 10:57

    Have you tried this?

    pointer-events: inherit;
    

    I know you already got your answer, but I thought this might work, too.

提交回复
热议问题