In my design, I have a parent element with a slightly see-through background. Inside this parent element, there is a child element. To display the child element behind the parent element, I gave it a z-index of -1.
For reference, here is an example on CodePen: https://codepen.io/anon/pen/xpVbPa
The gray square represents the child element. I need to make it clickable. How can this be achieved? I attempted to use pointer events: none
on the parent element, but it was not successful.