It is possible to have an external div with event pointers: none; and another div inside it with event pointers: auto ;. The outer div will be transparent to event clicks (i.e., it will not respond to click events, but the main html controls will be), and the inner one will.
However, now I have a scenario where I need to do the same with an iframe, but it does not work. I set the event pointer: none; on an iframe, but then the internal divs, which should be interactive, do not even have event pointers: auto; set.
There is another similar question , but it is closed in order to be off topic. I do not understand why. This is a very important html / css question.
source
share